| Index: tests/html/microtask_test.dart
|
| diff --git a/tests/html/microtask_test.dart b/tests/html/microtask_test.dart
|
| index 79adb284c72dd6dfa9a922b3145656993195c9a3..0dfcc53402b1af737ec8fe8a3949e6db3113373e 100644
|
| --- a/tests/html/microtask_test.dart
|
| +++ b/tests/html/microtask_test.dart
|
| @@ -5,7 +5,6 @@
|
| library microtask_;
|
| import '../../pkg/unittest/lib/unittest.dart';
|
| import '../../pkg/unittest/lib/html_config.dart';
|
| -import 'dart:async';
|
| import 'dart:html';
|
|
|
| main() {
|
| @@ -16,10 +15,10 @@ main() {
|
| var rafCalled = false;
|
| var immediateCalled = false;
|
|
|
| - Timer.run(expectAsync0(() {
|
| + window.setTimeout(expectAsync0(() {
|
| timeoutCalled = true;
|
| expect(immediateCalled, true);
|
| - }));
|
| + }), 0);
|
|
|
|
|
| window.requestAnimationFrame((_) {
|
|
|