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 2bee0d8670eeb8731762b442adf4840db2b89c82..efe3b0dd5ec30405390e3b2718ad16e290807366 100644 |
--- a/tests/standalone/io/web_socket_test.dart |
+++ b/tests/standalone/io/web_socket_test.dart |
@@ -15,7 +15,6 @@ import "dart:typeddata"; |
import "dart:uri"; |
const String CERT_NAME = 'localhost_cert'; |
-const String SERVER_ADDRESS = '127.0.0.1'; |
const String HOST_NAME = 'localhost'; |
/** |
@@ -27,11 +26,11 @@ class SecurityConfiguration { |
SecurityConfiguration({bool this.secure}); |
Future<HttpServer> createServer({int backlog: 0}) => |
- secure ? HttpServer.bindSecure(SERVER_ADDRESS, |
+ secure ? HttpServer.bindSecure(HOST_NAME, |
0, |
backlog: backlog, |
certificateName: CERT_NAME) |
- : HttpServer.bind(SERVER_ADDRESS, |
+ : HttpServer.bind(HOST_NAME, |
0, |
backlog); |