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

Unified Diff: tests/standalone/io/http_client_exception_test.dart

Issue 321543003: New, more validating, parser for URI. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: One more test. Created 6 years, 6 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 | « tests/corelib/uri_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_client_exception_test.dart
diff --git a/tests/standalone/io/http_client_exception_test.dart b/tests/standalone/io/http_client_exception_test.dart
index 4a5ab98aa924344a7ef61a1629a5ba48838ba64d..8dc1d56adb51706b35f985f6f3f248482aa2d44e 100644
--- a/tests/standalone/io/http_client_exception_test.dart
+++ b/tests/standalone/io/http_client_exception_test.dart
@@ -18,7 +18,7 @@ void testInvalidUrl() {
(e) => e.toString().contains("Unsupported scheme"));
Expect.throws(
() => client.getUrl(Uri.parse('http://::1')),
- (e) => e.toString().contains("No host specified"));
+ (e) => e.toString().contains("No '@'"));
Expect.throws(
() => client.getUrl(Uri.parse('http://user@:1')),
(e) => e.toString().contains("No host specified"));
« no previous file with comments | « tests/corelib/uri_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698