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

Unified Diff: test/codegen_expected/lib/html/history_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
« no previous file with comments | « test/codegen_expected/lib/html/fontface_test.js ('k') | test/codegen_expected/lib/html/indexeddb_1_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/lib/html/history_test.js
diff --git a/test/codegen_expected/lib/html/history_test.js b/test/codegen_expected/lib/html/history_test.js
index 8a184dd4b67e1bcf1207e7bc9fa10f3464e1bd0f..aa6e2560ff05ff8f7eedfc098f3c22c1ab0b6a1c 100644
--- a/test/codegen_expected/lib/html/history_test.js
+++ b/test/codegen_expected/lib/html/history_test.js
@@ -44,8 +44,8 @@ dart_library.library('lib/html/history_test', null, /* Imports */[
}, VoidTodynamic()));
unittest$.test('pushState with data', dart.fn(() => {
src__matcher__expect.expect(dart.fn(() => {
- html.window[dartx.history][dartx.pushState](dart.map({one: 1}), html.document[dartx.title], '?dummy');
- src__matcher__expect.expect(html.window[dartx.history][dartx.state], src__matcher__core_matchers.equals(dart.map({one: 1})));
+ html.window[dartx.history][dartx.pushState](dart.map({one: 1}, core.String, core.int), html.document[dartx.title], '?dummy');
+ src__matcher__expect.expect(html.window[dartx.history][dartx.state], src__matcher__core_matchers.equals(dart.map({one: 1}, core.String, core.int)));
html.window[dartx.history][dartx.pushState](null, html.document[dartx.title], '?foo=bar');
src__matcher__expect.expect(html.window[dartx.location][dartx.href][dartx.endsWith]('foo=bar'), src__matcher__core_matchers.isTrue);
}, VoidTodynamic()), expectation);
« no previous file with comments | « test/codegen_expected/lib/html/fontface_test.js ('k') | test/codegen_expected/lib/html/indexeddb_1_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698