Index: tests/lib/async/intercept_run_async1_test.dart |
diff --git a/tests/lib/async/intercept_run_async1_test.dart b/tests/lib/async/intercept_run_async1_test.dart |
index c2bc9c18c5f2052d5aeff50286a0567a69d61bf0..041d09d196a87ce6b14034c015851535c43a9222 100644 |
--- a/tests/lib/async/intercept_run_async1_test.dart |
+++ b/tests/lib/async/intercept_run_async1_test.dart |
@@ -8,7 +8,7 @@ import 'dart:async'; |
main() { |
// Test that runZoned returns the result of executing the body. |
var result = runZonedExperimental(() => 499, |
- onRunAsync: (f) { |
+ onScheduleMicrotask: (f) { |
Expect.fail("Unexpected invocation."); |
}); |
Expect.equals(499, result); |