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

Unified Diff: dart/tests/corelib/uri_test.dart

Issue 550173007: Version 1.6.1 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.6/
Patch Set: Created 6 years, 3 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 | « dart/sdk/lib/io/websocket_impl.dart ('k') | dart/tests/standalone/io/web_socket_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/corelib/uri_test.dart
===================================================================
--- dart/tests/corelib/uri_test.dart (revision 40021)
+++ dart/tests/corelib/uri_test.dart (working copy)
@@ -425,6 +425,11 @@
}
}
}
+
+ // Regression test, http://dartbug.com/20814
+ var uri = Uri.parse("/no-authorty/");
+ uri = uri.replace(fragment: "fragment");
+ Expect.isFalse(uri.hasAuthority);
}
main() {
« no previous file with comments | « dart/sdk/lib/io/websocket_impl.dart ('k') | dart/tests/standalone/io/web_socket_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698