Index: tests/standalone/io/web_socket_secure_test.dart |
diff --git a/tests/standalone/io/web_socket_secure_test.dart b/tests/standalone/io/web_socket_secure_test.dart |
index 707e469480bbb556e082cc08e3769e9237ed4bc5..cb78bd39dd4769ff7682614a869e5c4254f7b1ef 100644 |
--- a/tests/standalone/io/web_socket_secure_test.dart |
+++ b/tests/standalone/io/web_socket_secure_test.dart |
@@ -38,7 +38,7 @@ void test() { |
// Connect web socket over HTTPS. |
var conn = new WebSocketClientConnection( |
client.getUrl( |
- new Uri.fromString("https://$HOST_NAME:${server.port}/"))); |
+ Uri.parse("https://$HOST_NAME:${server.port}/"))); |
conn.onOpen = () { |
conn.send("hello"); |
}; |