Index: tests/standalone/io/web_socket_test.dart |
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart |
index 95d56c9689716fa4ef73dc6af80f793c8394ff42..2520992cdd50d5508ff1cb2a10d4ca3596eac864 100644 |
--- a/tests/standalone/io/web_socket_test.dart |
+++ b/tests/standalone/io/web_socket_test.dart |
@@ -39,7 +39,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; |