Index: tests/standalone/io/http_compression_test.dart |
diff --git a/tests/standalone/io/http_compression_test.dart b/tests/standalone/io/http_compression_test.dart |
index 47c2906eca3d7295cd9c285ee2a1685f59116369..c86c4bfae627bf459809bba828e211863560dda3 100644 |
--- a/tests/standalone/io/http_compression_test.dart |
+++ b/tests/standalone/io/http_compression_test.dart |
@@ -19,7 +19,7 @@ void testServerCompress() { |
request.response.close(); |
}); |
var client = new HttpClient(); |
- client.get("127.0.0.1", server.port, "/") |
+ client.get("localhost", server.port, "/") |
.then((request) { |
request.headers.set(HttpHeaders.ACCEPT_ENCODING, "gzip,deflate"); |
return request.close(); |
@@ -55,7 +55,7 @@ void testAcceptEncodingHeader() { |
request.response.close(); |
}); |
var client = new HttpClient(); |
- client.get("127.0.0.1", server.port, "/") |
+ client.get("localhost", server.port, "/") |
.then((request) { |
request.headers.set(HttpHeaders.ACCEPT_ENCODING, encoding); |
return request.close(); |