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

Unified Diff: pkg/path/test/posix_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/pubspec.yaml ('k') | pkg/path/test/url_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/path/test/posix_test.dart
diff --git a/pkg/path/test/posix_test.dart b/pkg/path/test/posix_test.dart
index 3afb3bb88d67e3cd35d498df41519cb0bc7e8986..2801eadec2ff10c7f24158c56952f824f9f68b50 100644
--- a/pkg/path/test/posix_test.dart
+++ b/pkg/path/test/posix_test.dart
@@ -462,6 +462,8 @@ main() {
expect(builder.fromUri(Uri.parse('///path/to/foo')), '/path/to/foo');
expect(builder.fromUri(Uri.parse('file:///path/to/foo%23bar')),
'/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);
});
@@ -473,5 +475,9 @@ main() {
expect(builder.toUri('foo/bar'), Uri.parse('foo/bar'));
expect(builder.toUri('/path/to/foo#bar'),
Uri.parse('file:///path/to/foo%23bar'));
+ expect(builder.toUri(r'/_{_}_`_^_ _"_%_'),
+ Uri.parse('file:///_%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/pubspec.yaml ('k') | pkg/path/test/url_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698