Index: tests/isolate/timer_repeat_test.dart |
diff --git a/tests/isolate/timer_repeat_test.dart b/tests/isolate/timer_repeat_test.dart |
index 48b962b208bab1703b873b17cddc0bd89e90a62c..d0c3a118376eb9946b1c850665a0b93d421c99e3 100644 |
--- a/tests/isolate/timer_repeat_test.dart |
+++ b/tests/isolate/timer_repeat_test.dart |
@@ -7,7 +7,7 @@ library timer_repeat_test; |
import 'dart:async'; |
import '../../pkg/unittest/lib/unittest.dart'; |
-const int TIMEOUT = 500; |
+const Duration TIMEOUT = const Duration(milliseconds: 500); |
const int ITERATIONS = 5; |
Timer timer; |