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

Unified Diff: tests/isolate/timer_cancel2_test.dart

Issue 12213092: Rework Timer interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 10 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
« no previous file with comments | « tests/isolate/timer_cancel1_test.dart ('k') | tests/isolate/timer_cancel_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/timer_cancel2_test.dart
diff --git a/tests/isolate/timer_cancel2_test.dart b/tests/isolate/timer_cancel2_test.dart
index a7ea99760c9f5e2dd9f347293e34f237eaa8cd7b..16768afda08d0660e4b84874e06a51065328773c 100644
--- a/tests/isolate/timer_cancel2_test.dart
+++ b/tests/isolate/timer_cancel2_test.dart
@@ -16,6 +16,7 @@ main() {
cancelTimer.cancel();
}
- cancelTimer = new Timer.repeating(1, expectAsync1(cancelHandler));
+ cancelTimer = new Timer.repeating(const Duration(milliseconds: 1),
+ expectAsync1(cancelHandler));
});
}
« no previous file with comments | « tests/isolate/timer_cancel1_test.dart ('k') | tests/isolate/timer_cancel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698