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

Unified Diff: tests/corelib/uri_normalize_path_test.dart

Issue 1224263009: Do "path normalization" when creating a URI. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments. Created 5 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 | « sdk/lib/core/uri.dart ('k') | tests/corelib/uri_normalize_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/uri_normalize_path_test.dart
diff --git a/tests/corelib/uri_normalize_path_test.dart b/tests/corelib/uri_normalize_path_test.dart
index 03c818fe8812af291c1b6e75c42f46b7a3426cb7..f485cbec09ba799b916e8ffa6d47710ccfefdb27 100644
--- a/tests/corelib/uri_normalize_path_test.dart
+++ b/tests/corelib/uri_normalize_path_test.dart
@@ -45,7 +45,7 @@ main() {
test("./../foo", "foo");
test("./../", "");
test("./../.", "");
- test("foo/bar/baz/../../../../qux", "qux");
+ test("foo/bar/baz/../../../../qux", "/qux");
test("/foo/bar/baz/../../../../qux", "/qux");
test(".", "");
test("..", "");
« no previous file with comments | « sdk/lib/core/uri.dart ('k') | tests/corelib/uri_normalize_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698