Index: tests/lib/async/schedule_microtask_test.dart |
diff --git a/tests/lib/async/run_async_test.dart b/tests/lib/async/schedule_microtask_test.dart |
similarity index 89% |
rename from tests/lib/async/run_async_test.dart |
rename to tests/lib/async/schedule_microtask_test.dart |
index 0ec7afae1fa6b2c289bc09a3c4fe067f382c0896..ac1c86102b65d79b9517ed0a664b33bd866d37a4 100644 |
--- a/tests/lib/async/run_async_test.dart |
+++ b/tests/lib/async/schedule_microtask_test.dart |
@@ -9,6 +9,6 @@ import '../../../pkg/unittest/lib/unittest.dart'; |
main() { |
test("run async test", () { |
- runAsync(expectAsync0(() {})); |
+ scheduleMicrotask(expectAsync0(() {})); |
}); |
} |