Index: tests/isolate/timer_cancel_test.dart |
diff --git a/tests/isolate/timer_cancel_test.dart b/tests/isolate/timer_cancel_test.dart |
index a159abcf3600b404b668437542309831e9b765db..88acbb158f805bf17b8be13cdab12db7ff79e426 100644 |
--- a/tests/isolate/timer_cancel_test.dart |
+++ b/tests/isolate/timer_cancel_test.dart |
@@ -33,7 +33,7 @@ main() { |
new Timer(ms * 1000, expectAsync0(handler)); |
cancelTimer = new Timer(ms * 2000, expectAsync0(unreachable, count: 0)); |
repeatTimer = 0; |
- new Timer.repeating(ms * 1500, expectAsync1(repeatHandler)); |
+ new Timer.periodic(ms * 1500, expectAsync1(repeatHandler)); |
}); |
test("cancel timer with same time", () { |