Chromium Code Reviews| Index: tests/isolate/timer_not_available_test.dart |
| diff --git a/tests/isolate/timer_not_available_test.dart b/tests/isolate/timer_not_available_test.dart |
| index 554c91bdcd33d65996935a1d28b70ddc19e08df2..d0efd1f843439416d5976d06cd76b04b3ae05094 100644 |
| --- a/tests/isolate/timer_not_available_test.dart |
| +++ b/tests/isolate/timer_not_available_test.dart |
| @@ -17,7 +17,7 @@ main() { |
| Expect.isTrue(failed); |
| failed = false; |
| try { |
| - var t = new Timer.repeating(ms * 10, (_) { }); |
| + var t = new Timer.periodic(ms * 10, (_) { }); |
|
Lasse Reichstein Nielsen
2013/03/13 10:06:05
If you only have one duration, conside making the
floitsch
2013/03/13 13:01:53
As discussed. Line 13 uses ms * 5.
|
| t.cancel(); |
| } on UnsupportedError catch (e) { |
| failed = true; |