Index: tests/lib/async/schedule_microtask6_test.dart |
diff --git a/tests/lib/async/run_async6_test.dart b/tests/lib/async/schedule_microtask6_test.dart |
similarity index 90% |
rename from tests/lib/async/run_async6_test.dart |
rename to tests/lib/async/schedule_microtask6_test.dart |
index e89bc038568eeef213a44eba8f5b71ba1aa17420..91dccdbe780496663aa0b656793abfa81c51248a 100644 |
--- a/tests/lib/async/run_async6_test.dart |
+++ b/tests/lib/async/schedule_microtask6_test.dart |
@@ -12,8 +12,8 @@ bool _unhandledExceptionCallback(exception) => true; |
main() { |
test('run async test', () { |
var callback = expectAsync0(() {}); |
- runAsync(() { |
- runAsync(() { |
+ scheduleMicrotask(() { |
+ scheduleMicrotask(() { |
callback(); |
}); |
throw new Exception('exception'); |