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

Unified Diff: tests/standalone/io/test_runner_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/standalone/io/test_extension_fail_tester.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_runner_test.dart
diff --git a/tests/standalone/io/test_runner_test.dart b/tests/standalone/io/test_runner_test.dart
index 65a0ea9f3ca49cbe45df32283c6e435e67f7a855..ebf61a8ba6ad2632d4903540a62a1a1302612815 100644
--- a/tests/standalone/io/test_runner_test.dart
+++ b/tests/standalone/io/test_runner_test.dart
@@ -114,7 +114,7 @@ void main() {
break;
case 'timeout':
// Run for 10 seconds, then exit. This tests a 2 second timeout.
- new Timer(10 * 1000, (t){ });
+ new Timer(new Duration(seconds: 10), (){ });
break;
default:
throw "Unknown option ${arguments[0]} passed to test_runner_test";
« no previous file with comments | « tests/standalone/io/test_extension_fail_tester.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698