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

Unified Diff: pkg/path/test/windows_test.dart

Issue 20364002: Remove API documentation from path README. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add doc link to pubspec. Created 7 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 | « pkg/path/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: pkg/path/test/windows_test.dart
diff --git a/pkg/path/test/windows_test.dart b/pkg/path/test/windows_test.dart
index 1966b7f341b42f3abd59cf870e43e249cc447042..e293be61abed50977baaec60048c7b828d70a5d0 100644
--- a/pkg/path/test/windows_test.dart
+++ b/pkg/path/test/windows_test.dart
@@ -503,6 +503,8 @@ main() {
r'C:\path\to\foo#bar');
expect(builder.fromUri(Uri.parse('file://hostname/path/to/foo%23bar')),
r'\\hostname\path\to\foo#bar');
+ expect(builder.fromUri(Uri.parse('_%7B_%7D_%60_%5E_%20_%22_%25_')),
+ r'_{_}_`_^_ _"_%_');
expect(() => builder.fromUri(Uri.parse('http://dartlang.org')),
throwsArgumentError);
});
@@ -519,5 +521,9 @@ main() {
Uri.parse('file:///C:/path/to/foo%23bar'));
expect(builder.toUri(r'\\hostname\path\to\foo#bar'),
Uri.parse('file://hostname/path/to/foo%23bar'));
+ expect(builder.toUri(r'C:\_{_}_`_^_ _"_%_'),
+ Uri.parse('file:///C:/_%7B_%7D_%60_%5E_%20_%22_%25_'));
+ expect(builder.toUri(r'_{_}_`_^_ _"_%_'),
+ Uri.parse('_%7B_%7D_%60_%5E_%20_%22_%25_'));
});
}
« no previous file with comments | « pkg/path/test/url_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698