| Index: tests/isolate/timer_cancel_test.dart
|
| diff --git a/tests/isolate/timer_cancel_test.dart b/tests/isolate/timer_cancel_test.dart
|
| index bc4376b211437d7018d2483178c37ce49924a936..a159abcf3600b404b668437542309831e9b765db 100644
|
| --- a/tests/isolate/timer_cancel_test.dart
|
| +++ b/tests/isolate/timer_cancel_test.dart
|
| @@ -35,10 +35,10 @@ main() {
|
| repeatTimer = 0;
|
| new Timer.repeating(ms * 1500, expectAsync1(repeatHandler));
|
| });
|
| -
|
| +
|
| test("cancel timer with same time", () {
|
| var t2;
|
| - var t1 = Timer.run(expectAsync0(() => t2.cancel()));
|
| - t2 = Timer.run(expectAsync0(t1.cancel, count: 0));
|
| + var t1 = new Timer(ms * 0, expectAsync0(() => t2.cancel()));
|
| + t2 = new Timer(ms * 0, expectAsync0(t1.cancel, count: 0));
|
| });
|
| }
|
|
|