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

Unified Diff: tests/corelib_2/uri_path_test.dart

Issue 2983123002: Migrate test block 30 + corelib portion of block 31 to Dart 2.0. (Closed)
Patch Set: Addressed Bob's comments Created 3 years, 5 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 | « tests/corelib_2/uri_parse_test.dart ('k') | tests/corelib_2/uri_query_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_2/uri_path_test.dart
diff --git a/tests/corelib/uri_path_test.dart b/tests/corelib_2/uri_path_test.dart
similarity index 96%
rename from tests/corelib/uri_path_test.dart
rename to tests/corelib_2/uri_path_test.dart
index d46c3a7fcb423b3ab7f54eaae5a00c8a04ed60b1..ce64a6c9a0fc09e576dbc2f09442f6cd8d95d558 100644
--- a/tests/corelib/uri_path_test.dart
+++ b/tests/corelib_2/uri_path_test.dart
@@ -83,13 +83,13 @@ void testPathSegments() {
}
unencoded.writeCharCode(i);
}
- encoded = encoded.toString();
- unencoded = unencoded.toString();
- test(encoded, [unencoded]);
- test(encoded + "/" + encoded, [unencoded, unencoded]);
+ var encodedStr = encoded.toString();
+ var unencodedStr = unencoded.toString();
+ test(encodedStr, [unencodedStr]);
+ test(encodedStr + "/" + encodedStr, [unencodedStr, unencodedStr]);
Uri uri;
- List pathSegments = ["xxx", "yyy", "zzz"];
+ var pathSegments = ["xxx", "yyy", "zzz"];
uri = new Uri(pathSegments: pathSegments);
Expect.equals(3, uri.pathSegments.length);
« no previous file with comments | « tests/corelib_2/uri_parse_test.dart ('k') | tests/corelib_2/uri_query_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698