Index: tests/lib/async/timer_isolate_test.dart |
diff --git a/tests/lib/async/timer_isolate_test.dart b/tests/lib/async/timer_isolate_test.dart |
index 1e0cb9bf4d2dd476faef0b0a764ad393738fcbe9..d9ec11805aa450407995cb062f225275a450b35e 100644 |
--- a/tests/lib/async/timer_isolate_test.dart |
+++ b/tests/lib/async/timer_isolate_test.dart |
@@ -28,7 +28,7 @@ main() { |
ReceivePort port = new ReceivePort(); |
- port.first.then(expectAsync1((msg) { |
+ port.first.then(expectAsync((msg) { |
expect("timer_fired", msg); |
int endTime = (new DateTime.now()).millisecondsSinceEpoch; |
expect(endTime - startTime + safetyMargin, greaterThanOrEqualTo(TIMEOUT.inMilliseconds)); |