| Index: test/http_multi_server_test.dart
|
| diff --git a/test/http_multi_server_test.dart b/test/http_multi_server_test.dart
|
| index 9468cfe0df0748aa0426ac9d8a2805bdec855053..d638a483860476a5496c2d7d960ba12063ac17e0 100644
|
| --- a/test/http_multi_server_test.dart
|
| +++ b/test/http_multi_server_test.dart
|
| @@ -18,9 +18,9 @@ void main() {
|
| var subServer3;
|
| setUp(() {
|
| return Future.wait([
|
| - HttpServer.bind("127.0.0.1", 0).then((server) => subServer1 = server),
|
| - HttpServer.bind("127.0.0.1", 0).then((server) => subServer2 = server),
|
| - HttpServer.bind("127.0.0.1", 0).then((server) => subServer3 = server)
|
| + HttpServer.bind("localhost", 0).then((server) => subServer1 = server),
|
| + HttpServer.bind("localhost", 0).then((server) => subServer2 = server),
|
| + HttpServer.bind("localhost", 0).then((server) => subServer3 = server)
|
| ]).then((servers) => multiServer = new HttpMultiServer(servers));
|
| });
|
|
|
| @@ -151,7 +151,7 @@ void main() {
|
| completion(equals("got request")));
|
| }
|
|
|
| - if (await supportsIPv4) {
|
| + if (await supportsIPv6) {
|
| expect(http.read("http://[::1]:${server.port}/"),
|
| completion(equals("got request")));
|
| }
|
|
|