Index: tests/standalone/src/io/SocketStreamCloseTest.dart |
diff --git a/tests/standalone/src/io/SocketStreamCloseTest.dart b/tests/standalone/src/io/SocketStreamCloseTest.dart |
index 0fecf931dd90fffaa200f38c8870686a6bfdb8d7..fdfe8fba7e328f02b534977a34d83cd5c1ec840b 100644 |
--- a/tests/standalone/src/io/SocketStreamCloseTest.dart |
+++ b/tests/standalone/src/io/SocketStreamCloseTest.dart |
@@ -34,7 +34,7 @@ class SocketClose { |
void proceed() { |
if (_iterations < ITERATIONS) { |
- new Timer(sendData, 0); |
+ new Timer(0, sendData); |
} else { |
shutdown(); |
} |
@@ -353,7 +353,7 @@ class SocketCloseServer extends Isolate { |
this.port.close(); |
_donePort.send(null); |
} else { |
- new Timer(waitForResult, 100); |
+ new Timer(100, waitForResult); |
} |
} |
@@ -375,7 +375,7 @@ class SocketCloseServer extends Isolate { |
_server.onError = errorHandlerServer; |
replyTo.send(_server.port, null); |
} else { |
- new Timer(waitForResult, 0); |
+ new Timer(0, waitForResult); |
} |
}); |
} |