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