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

Unified Diff: tests/standalone/src/TimerCancelTest.dart

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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/standalone/src/TimerCancelTest.dart
diff --git a/tests/standalone/src/TimerCancelTest.dart b/tests/standalone/src/TimerCancelTest.dart
index 31ba336c6435cc90581c22e51b9f54064ac665f0..21b13c8494acdd08d8cd66306963b1c8f4ac0b25 100644
--- a/tests/standalone/src/TimerCancelTest.dart
+++ b/tests/standalone/src/TimerCancelTest.dart
@@ -20,10 +20,10 @@ class TimerCancelTest {
Expect.equals(true, repeatTimer == 1);
}
- cancelTimer = new Timer(timeoutHandlerUnreachable, 1000, false);
+ cancelTimer = new Timer(timeoutHandlerUnreachable, 1000);
cancelTimer.cancel();
- new Timer(timeoutHandler, 1000, false);
- cancelTimer = new Timer(timeoutHandlerUnreachable, 2000, false);
+ new Timer(timeoutHandler, 1000);
+ cancelTimer = new Timer(timeoutHandlerUnreachable, 2000);
repeatTimer = 0;
new Timer(timeoutHandlerRepeat, 1500, true);
}

Powered by Google App Engine
This is Rietveld 408576698