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

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

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. 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/TimerCancel2Test.dart
diff --git a/tests/standalone/src/TimerCancel2Test.dart b/tests/standalone/src/TimerCancel2Test.dart
index aa6d1e1fdb915dfa7b8f6d4b64ebe03fce96aa26..405dc32719d66a58590952e9de3490e6281ffd7d 100644
--- a/tests/standalone/src/TimerCancel2Test.dart
+++ b/tests/standalone/src/TimerCancel2Test.dart
@@ -11,7 +11,7 @@ class TimerCancel2Test {
cancelTimer.cancel();
}
- cancelTimer = new Timer(cancelHandler, 1, true);
+ cancelTimer = new Timer.repeating(cancelHandler, 1);
}
static void testMain() {

Powered by Google App Engine
This is Rietveld 408576698