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

Unified Diff: test/codegen_expected/corelib/uri_http_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/corelib/uri_http_test.js
diff --git a/test/codegen_expected/corelib/uri_http_test.js b/test/codegen_expected/corelib/uri_http_test.js
index 5ccc541254149cb8982180a9ea9cb0534d66ce7a..dcd7368ad95aef85401b53880e905cf4644edd2c 100644
--- a/test/codegen_expected/corelib/uri_http_test.js
+++ b/test/codegen_expected/corelib/uri_http_test.js
@@ -34,8 +34,8 @@ dart_library.library('corelib/uri_http_test', null, /* Imports */[
check(core.Uri.http("host", "/a b/"), "http://host/a%20b/");
check(core.Uri.http("host", "/a%2F"), "http://host/a%252F");
check(core.Uri.http("host", "/a%2F/"), "http://host/a%252F/");
- check(core.Uri.http("host", "/a/b", dart.map({c: "d"})), "http://host/a/b?c=d");
- check(core.Uri.http("host", "/a/b", dart.map({"c=": "&d"})), "http://host/a/b?c%3D=%26d");
+ check(core.Uri.http("host", "/a/b", dart.map({c: "d"}, core.String, core.String)), "http://host/a/b?c=d");
+ check(core.Uri.http("host", "/a/b", dart.map({"c=": "&d"}, core.String, core.String)), "http://host/a/b?c%3D=%26d");
check(core.Uri.http("[::]", "a"), "http://[::]/a");
check(core.Uri.http("[::127.0.0.1]", "a"), "http://[::127.0.0.1]/a");
};
@@ -64,8 +64,8 @@ dart_library.library('corelib/uri_http_test', null, /* Imports */[
check(core.Uri.https("host", "/a b/"), "https://host/a%20b/");
check(core.Uri.https("host", "/a%2F"), "https://host/a%252F");
check(core.Uri.https("host", "/a%2F/"), "https://host/a%252F/");
- check(core.Uri.https("host", "/a/b", dart.map({c: "d"})), "https://host/a/b?c=d");
- check(core.Uri.https("host", "/a/b", dart.map({"c=": "&d"})), "https://host/a/b?c%3D=%26d");
+ check(core.Uri.https("host", "/a/b", dart.map({c: "d"}, core.String, core.String)), "https://host/a/b?c=d");
+ check(core.Uri.https("host", "/a/b", dart.map({"c=": "&d"}, core.String, core.String)), "https://host/a/b?c%3D=%26d");
check(core.Uri.https("[::]", "a"), "https://[::]/a");
check(core.Uri.https("[::127.0.0.1]", "a"), "https://[::127.0.0.1]/a");
};
« no previous file with comments | « test/codegen_expected/corelib/map_values_test.js ('k') | test/codegen_expected/corelib/uri_parameters_all_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698