| 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;
|
|
|