| Index: tests/lib/async/schedule_microtask3_test.dart
|
| diff --git a/tests/lib/async/run_async3_test.dart b/tests/lib/async/schedule_microtask3_test.dart
|
| similarity index 85%
|
| rename from tests/lib/async/run_async3_test.dart
|
| rename to tests/lib/async/schedule_microtask3_test.dart
|
| index 00eaf9b1c6688790a8eb0682119ff1e5d07916d8..950d8e0c95568c5f8e95a571d6e309ece176512d 100644
|
| --- a/tests/lib/async/run_async3_test.dart
|
| +++ b/tests/lib/async/schedule_microtask3_test.dart
|
| @@ -14,11 +14,11 @@ main() {
|
|
|
| Timer.run(expectAsync0(() { timerCallbackExecuted = true; }));
|
|
|
| - runAsync(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync0(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
|
|
| - runAsync(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync0(() {
|
| // Busy loop.
|
| var sum = 1;
|
| var sw = new Stopwatch()..start();
|
| @@ -26,12 +26,12 @@ main() {
|
| sum++;
|
| }
|
| if (sum == 0) throw "bad"; // Just to use the result.
|
| - runAsync(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync0(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
| }));
|
|
|
| - runAsync(expectAsync0(() {
|
| + scheduleMicrotask(expectAsync0(() {
|
| Expect.isFalse(timerCallbackExecuted);
|
| }));
|
| });
|
|
|