Chromium Code Reviews| 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..1a3490f1018211f24ad35bdc71ed1c989b514874 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"]; |
| + List<String> pathSegments = ["xxx", "yyy", "zzz"]; |
|
Bob Nystrom
2017/07/20 00:13:07
Nit: I'd change this to "var".
bkonyi
2017/07/20 15:05:49
Done.
|
| uri = new Uri(pathSegments: pathSegments); |
| Expect.equals(3, uri.pathSegments.length); |