Index: tests/lib/async/stream_event_transformed_test.dart |
diff --git a/tests/lib/async/stream_event_transformed_test.dart b/tests/lib/async/stream_event_transformed_test.dart |
index 1978bc383bd51a3089e86fe0262d830f944c9d8e..6904188c34685b14d0fe6dce0dee788b43873fc4 100644 |
--- a/tests/lib/async/stream_event_transformed_test.dart |
+++ b/tests/lib/async/stream_event_transformed_test.dart |
@@ -155,7 +155,7 @@ main() { |
completer3.complete("future3"); |
Timer.run(() { |
completer1.complete("future1"); |
- runAsync(closeCompleter.complete); |
+ scheduleMicrotask(closeCompleter.complete); |
}); |
}); |
}); |
@@ -212,7 +212,7 @@ main() { |
subscription.pause(); |
completer1.complete("future1"); |
subscription.resume(); |
- runAsync(closeCompleter.complete); |
+ scheduleMicrotask(closeCompleter.complete); |
}); |
}); |
}); |