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"); |
base = Uri.parse("s:a/b"); |
testResolve("s:/c", "../c"); |