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