Index: tests/standalone/io/http_server_early_client_close_test.dart |
diff --git a/tests/standalone/io/http_server_early_client_close_test.dart b/tests/standalone/io/http_server_early_client_close_test.dart |
index fcfd9a81c1b8a31fc9a4a99b15f3e15678b32d3d..6a717ec2dd1680c7b3f48a1844b7e04c5d75dd75 100644 |
--- a/tests/standalone/io/http_server_early_client_close_test.dart |
+++ b/tests/standalone/io/http_server_early_client_close_test.dart |
@@ -80,7 +80,7 @@ void testEarlyClose() { |
HttpServer server = new HttpServer(); |
server.listen("127.0.0.1", 0); |
void runTest(Iterator it) { |
- if (it.hasNext()) { |
+ if (it.hasNext) { |
it.next().execute(server).then((_) => runTest(it)); |
} else { |
server.close(); |