| Index: tests/lib/async/schedule_microtask3_test.dart
|
| diff --git a/tests/lib/async/schedule_microtask3_test.dart b/tests/lib/async/schedule_microtask3_test.dart
|
| index a93e52b4d1e543d68c18f805b4a0aaaf0deb4cbc..f7cb0b83d76dbb872b4eb278022150ee45a8293a 100644
|
| --- a/tests/lib/async/schedule_microtask3_test.dart
|
| +++ b/tests/lib/async/schedule_microtask3_test.dart
|
| @@ -13,13 +13,13 @@ main() {
|
| // Check that Timers don't run before the async callbacks.
|
| bool timerCallbackExecuted = false;
|
|
|
| - Timer.run(expectAsync0(() { timerCallbackExecuted = true; }));
|
| + Timer.run(expectAsync(() { timerCallbackExecuted = true; }));
|
|
|
| - scheduleMicrotask(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
|
|
| - scheduleMicrotask(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync(() {
|
| // Busy loop.
|
| var sum = 1;
|
| var sw = new Stopwatch()..start();
|
| @@ -27,12 +27,12 @@ main() {
|
| sum++;
|
| }
|
| if (sum == 0) throw "bad"; // Just to use the result.
|
| - scheduleMicrotask(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
| }));
|
|
|
| - scheduleMicrotask(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
| });
|
|
|