Index: tests/standalone/io/test_extension_fail_tester.dart |
diff --git a/tests/standalone/io/test_extension_fail_tester.dart b/tests/standalone/io/test_extension_fail_tester.dart |
index b7739cf999e971fc4a1cb4c3edefe77865d047fd..7ce00e23b6f49dd6838b2b12b60bfc42b9d3ad92 100644 |
--- a/tests/standalone/io/test_extension_fail_tester.dart |
+++ b/tests/standalone/io/test_extension_fail_tester.dart |
@@ -17,5 +17,5 @@ main() { |
// Make sure the exception is thrown out to the event handler from C++ code. |
// The harness expects the string "ball" to be thrown and the process to |
// end with an unhandled exception. |
- new Timer(0, (_) => Cat.throwMeTheBall("ball")); |
+ Timer.run(() => Cat.throwMeTheBall("ball")); |
} |