| Index: tests/lib/async/schedule_microtask5_test.dart
|
| diff --git a/tests/lib/async/schedule_microtask5_test.dart b/tests/lib/async/schedule_microtask5_test.dart
|
| index 8e068b4a082c9772824bf7405f66c6941b623f19..cdc6da8d69d00851097073689be4f928d84726d1 100644
|
| --- a/tests/lib/async/schedule_microtask5_test.dart
|
| +++ b/tests/lib/async/schedule_microtask5_test.dart
|
| @@ -13,17 +13,17 @@ main() {
|
| // Check that Timers don't run before the async callbacks.
|
| bool timerCallbackExecuted = false;
|
|
|
| - scheduleMicrotask(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
|
|
| - 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();
|
| @@ -31,12 +31,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);
|
| }));
|
| });
|
|
|