| Index: tests/lib/async/schedule_microtask4_test.dart
|
| diff --git a/tests/lib/async/run_async4_test.dart b/tests/lib/async/schedule_microtask4_test.dart
|
| similarity index 97%
|
| rename from tests/lib/async/run_async4_test.dart
|
| rename to tests/lib/async/schedule_microtask4_test.dart
|
| index 26db3901e4f90ef55c249f17947e6b0d42db4a08..5b5a2ee51327105337d4a17dde76653ed8781a78 100644
|
| --- a/tests/lib/async/run_async4_test.dart
|
| +++ b/tests/lib/async/schedule_microtask4_test.dart
|
| @@ -12,7 +12,7 @@ void startTest(SendPort finishPort, replyPort) {
|
| int invokedCallbacks = 0;
|
|
|
| for (int i = 0; i < 100; i++) {
|
| - runAsync(() {
|
| + scheduleMicrotask(() {
|
| invokedCallbacks++;
|
| if (invokedCallbacks == 100) finishPort.send("done");
|
| if (i == 50) throw new UnsupportedError("ignore exception");
|
|
|