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

Unified Diff: test/windows_test.dart

Issue 1225373003: Fix path.toUri for relative paths. (Closed) Base URL: git@github.com:dart-lang/path@master
Patch Set: merge 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 | « test/url_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/windows_test.dart
diff --git a/test/windows_test.dart b/test/windows_test.dart
index a174305a745cdeb2f5fb23292a6647c8762cf4d3..69428378dc2a6496924f6f83f736e295661b5b27 100644
--- a/test/windows_test.dart
+++ b/test/windows_test.dart
@@ -629,6 +629,7 @@ main() {
context.toUri(r'C:\path\to\foo'), Uri.parse('file:///C:/path/to/foo'));
expect(context.toUri(r'C:\path\to\foo\'),
Uri.parse('file:///C:/path/to/foo/'));
+ expect(context.toUri(r'path\to\foo\'), Uri.parse('path/to/foo/'));
expect(context.toUri(r'C:\'), Uri.parse('file:///C:/'));
expect(context.toUri(r'\\server\share'), Uri.parse('file://server/share'));
expect(
« no previous file with comments | « test/url_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698