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); |