Index: tests/standalone/io/http_server_early_client_close2_test.dart |
diff --git a/tests/standalone/io/http_server_early_client_close2_test.dart b/tests/standalone/io/http_server_early_client_close2_test.dart |
index 055e2a06df31b881c64bbfed35dc42c76eaba90d..43d9e8c0512d8eee309d708d92f142f11e280232 100644 |
--- a/tests/standalone/io/http_server_early_client_close2_test.dart |
+++ b/tests/standalone/io/http_server_early_client_close2_test.dart |
@@ -14,12 +14,13 @@ import "dart:isolate"; |
main() { |
HttpServer.bind("127.0.0.1", 0).then((server) { |
- server.listen( |
- (request) { |
- String name = Platform.script.toFilePath(); |
- new File(name).openRead().pipe(request.response) |
- .catchError((e) { /* ignore */ }); |
- }); |
+ server.listen((request) { |
+ String name = Platform.script.toFilePath(); |
+ new File(name) |
+ .openRead() |
+ .pipe(request.response) |
+ .catchError((e) {/* ignore */}); |
+ }); |
var count = 0; |
makeRequest() { |
@@ -37,6 +38,7 @@ main() { |
}); |
}); |
} |
+ |
makeRequest(); |
}); |
} |