Chromium Code Reviews| Index: tests/corelib/uri_test.dart |
| diff --git a/tests/corelib/uri_test.dart b/tests/corelib/uri_test.dart |
| index f1dce7a9195618d791bc5907cbf7e44f15cf3a3d..30b62428a87e92fa0a1b2ed1d2883e53f5fabcab 100644 |
| --- a/tests/corelib/uri_test.dart |
| +++ b/tests/corelib/uri_test.dart |
| @@ -130,9 +130,13 @@ testUriPerRFCs() { |
| // Test non-URI base (no scheme, no authority, relative path). |
| base = Uri.parse("a/b/c?_#_"); |
| testResolve("a/b/g?q#f", "g?q#f"); |
| + testResolve("./", "../.."); |
| testResolve("../", "../../.."); |
| testResolve("a/b/", "."); |
| testResolve("c", "../../c"); |
| + base = Uri.parse("../../a/b/c?_#_"); // Initial ".." in base url. |
| + testResolve("../../a/d", "../d"); |
| + testResolve("../../../d", "../../../d"); |
|
ahe
2016/05/31 21:44:42
Nice that you updated this!
|
| base = Uri.parse("s:a/b"); |
| testResolve("s:/c", "../c"); |