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

Unified Diff: tests/corelib_strong/uri_http_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: tests/corelib_strong/uri_http_test.dart
diff --git a/tests/corelib_strong/uri_http_test.dart b/tests/corelib_strong/uri_http_test.dart
index 79bc3c8746168ecf545ca7e48e052b37bdebe4c0..60d9732049de8e0d4c4e75f37ad074f31e341a17 100644
--- a/tests/corelib_strong/uri_http_test.dart
+++ b/tests/corelib_strong/uri_http_test.dart
@@ -28,9 +28,9 @@ testHttpUri() {
check(new Uri.http("host", "/a b/"), "http://host/a%20b/");
check(new Uri.http("host", "/a%2F"), "http://host/a%252F");
check(new Uri.http("host", "/a%2F/"), "http://host/a%252F/");
- check(new Uri.http("host", "/a/b", { "c": "d" }), "http://host/a/b?c=d");
- check(new Uri.http("host",
- "/a/b", { "c=": "&d" }), "http://host/a/b?c%3D=%26d");
+ check(new Uri.http("host", "/a/b", {"c": "d"}), "http://host/a/b?c=d");
+ check(
+ new Uri.http("host", "/a/b", {"c=": "&d"}), "http://host/a/b?c%3D=%26d");
check(new Uri.http("[::]", "a"), "http://[::]/a");
check(new Uri.http("[::127.0.0.1]", "a"), "http://[::127.0.0.1]/a");
}
@@ -59,9 +59,9 @@ testHttpsUri() {
check(new Uri.https("host", "/a b/"), "https://host/a%20b/");
check(new Uri.https("host", "/a%2F"), "https://host/a%252F");
check(new Uri.https("host", "/a%2F/"), "https://host/a%252F/");
- check(new Uri.https("host", "/a/b", { "c": "d" }), "https://host/a/b?c=d");
- check(new Uri.https("host",
- "/a/b", { "c=": "&d" }), "https://host/a/b?c%3D=%26d");
+ check(new Uri.https("host", "/a/b", {"c": "d"}), "https://host/a/b?c=d");
+ check(new Uri.https("host", "/a/b", {"c=": "&d"}),
+ "https://host/a/b?c%3D=%26d");
check(new Uri.https("[::]", "a"), "https://[::]/a");
check(new Uri.https("[::127.0.0.1]", "a"), "https://[::127.0.0.1]/a");
}

Powered by Google App Engine
This is Rietveld 408576698