Index: tests/lib/async/schedule_microtask2_test.dart |
diff --git a/tests/lib/async/run_async2_test.dart b/tests/lib/async/schedule_microtask2_test.dart |
similarity index 93% |
rename from tests/lib/async/run_async2_test.dart |
rename to tests/lib/async/schedule_microtask2_test.dart |
index 96a7c7b1ba92c7969ddeaa4217ec5c5f5776a2ad..fa55f5cd86187d0928f1367a1c54fad3e54db433 100644 |
--- a/tests/lib/async/run_async2_test.dart |
+++ b/tests/lib/async/schedule_microtask2_test.dart |
@@ -13,7 +13,7 @@ main() { |
test("run async in order test", () { |
int lastCallback = -1; |
for (int i = 0; i < 100; i++) { |
- runAsync(expectAsync0(() { |
+ scheduleMicrotask(expectAsync0(() { |
Expect.equals(lastCallback, i - 1); |
lastCallback = i; |
})); |