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

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

Issue 12052038: Rename new Uri.fromString to Uri.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload because of Error. Created 7 years, 11 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/standalone/io/https_client_test.dart ('k') | tests/standalone/io/regress_6521_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/https_server_test.dart
diff --git a/tests/standalone/io/https_server_test.dart b/tests/standalone/io/https_server_test.dart
index 8e4cf2de6a6ef15b00ed642c6651a51822704838..1da88543520bad45e6e666ac41d9f556f14db554 100644
--- a/tests/standalone/io/https_server_test.dart
+++ b/tests/standalone/io/https_server_test.dart
@@ -34,7 +34,7 @@ void testListenOn() {
HttpClient client = new HttpClient();
HttpClientConnection conn =
- client.getUrl(new Uri.fromString("https://$HOST_NAME:${server.port}/"));
+ client.getUrl(Uri.parse("https://$HOST_NAME:${server.port}/"));
conn.onRequest = (HttpClientRequest request) {
request.outputStream.close();
};
« no previous file with comments | « tests/standalone/io/https_client_test.dart ('k') | tests/standalone/io/regress_6521_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698