Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: tests/isolate/timer_cancel_test.dart

Issue 12793003: Rename Timer.repeating to Timer.periodic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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", () {

Powered by Google App Engine
This is Rietveld 408576698