Index: tests/standalone/io/http_ipv6_test.dart |
diff --git a/tests/standalone/io/http_ipv6_test.dart b/tests/standalone/io/http_ipv6_test.dart |
index b0d2acf4980dff04bf80fd20073751600a4760ab..fe61c0823df2844ef7c64f07890a92900b179f7c 100644 |
--- a/tests/standalone/io/http_ipv6_test.dart |
+++ b/tests/standalone/io/http_ipv6_test.dart |
@@ -28,20 +28,19 @@ void testHttpIPv6() { |
var client = new HttpClient(); |
var url = Uri.parse('http://[::1]:${server.port}/xxx'); |
Expect.equals(url.host, '::1'); |
- client.openUrl('GET', url) |
+ client |
+ .openUrl('GET', url) |
.then((request) => request.close()) |
.then((response) { |
- Expect.equals(response.statusCode, HttpStatus.OK); |
- }).whenComplete(() { |
- server.close(); |
- client.close(); |
- asyncEnd(); |
- }); |
+ Expect.equals(response.statusCode, HttpStatus.OK); |
+ }).whenComplete(() { |
+ server.close(); |
+ client.close(); |
+ asyncEnd(); |
+ }); |
}); |
} |
- |
- |
void main() { |
testHttpIPv6(); |
} |