Index: tests/lib/async/catch_errors27_test.dart |
diff --git a/tests/lib/async/catch_errors27_test.dart b/tests/lib/async/catch_errors27_test.dart |
index 9a1f0d7dda8f668494763de48a2244d222d4ae0f..06f819b060d67b54459515df51e139907f0e1ce4 100644 |
--- a/tests/lib/async/catch_errors27_test.dart |
+++ b/tests/lib/async/catch_errors27_test.dart |
@@ -31,7 +31,7 @@ main() { |
.transform(new StreamTransformer.fromHandlers( |
handleError: (e, st, sink) => sink.add("error $e"))) |
.listen((x) { events.add("stream $x"); }); |
- runAsync(() { |
+ scheduleMicrotask(() { |
controller.add(1); |
// Errors are not allowed to traverse boundaries, but in this case the |
// first listener of the broadcast stream is in the same error-zone. So |