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

Unified Diff: tests/standalone/io/web_socket_no_secure_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
Index: tests/standalone/io/web_socket_no_secure_test.dart
diff --git a/tests/standalone/io/web_socket_no_secure_test.dart b/tests/standalone/io/web_socket_no_secure_test.dart
index 1edf224cbe7e2bff8025934f352f9e86df0fac95..7aae7a340516ba9c349271f5bc41f44366737367 100644
--- a/tests/standalone/io/web_socket_no_secure_test.dart
+++ b/tests/standalone/io/web_socket_no_secure_test.dart
@@ -42,7 +42,7 @@ class SecurityConfiguration {
WebSocketClientConnection createClient(int port,
{bool followRedirects,
String method: "GET"}) {
- HttpClientConnection conn = client.openUrl(method, new Uri.fromString(
+ HttpClientConnection conn = client.openUrl(method, Uri.parse(
'${secure ? "https" : "http"}://$HOST_NAME:$port/'));
if (followRedirects != null) {
conn.followRedirects = followRedirects;
« no previous file with comments | « tests/standalone/io/secure_no_builtin_roots_test.dart ('k') | tests/standalone/io/web_socket_secure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698