Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: test/codegen_expected/lib/html/fontface_test.js

Issue 2211293002: Reify type params on map literals (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove unnecessary null check Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen_expected/lib/html/fontface_test.js
diff --git a/test/codegen_expected/lib/html/fontface_test.js b/test/codegen_expected/lib/html/fontface_test.js
index 124753016c3a9a89d4d0bd68c125b4fd35dfe8fe..3c9249c09917e0b6f099b84ad27c1d995c4d225a 100644
--- a/test/codegen_expected/lib/html/fontface_test.js
+++ b/test/codegen_expected/lib/html/fontface_test.js
@@ -16,7 +16,7 @@ dart_library.library('lib/html/fontface_test', null, /* Imports */[
fontface_test.main = function() {
html_config.useHtmlConfiguration();
unittest$.test("Creation with parameters", dart.fn(() => {
- let font = html.FontFace.new('Ahem', 'url(Ahem.ttf)', dart.map({variant: 'small-caps'}));
+ let font = html.FontFace.new('Ahem', 'url(Ahem.ttf)', dart.map({variant: 'small-caps'}, core.String, core.String));
src__matcher__expect.expect(html.FontFace.is(font), src__matcher__core_matchers.isTrue);
src__matcher__expect.expect(font[dartx.family], 'Ahem');
src__matcher__expect.expect(font[dartx.variant], 'small-caps');
« no previous file with comments | « test/codegen_expected/lib/html/event_customevent_test.js ('k') | test/codegen_expected/lib/html/history_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698