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"; |