Index: tests/html/events_test.dart |
diff --git a/tests/html/events_test.dart b/tests/html/events_test.dart |
index d455b7fc89ddcf109359a661f714293cdac4f168..ebb9181f62b0421ca6c423771587abda5e1eb40b 100644 |
--- a/tests/html/events_test.dart |
+++ b/tests/html/events_test.dart |
@@ -97,7 +97,7 @@ main() { |
void handler(Event e) { |
expect(Zone.current, equals(zone)); |
- runAsync(expectAsync0(() { |
+ scheduleMicrotask(expectAsync0(() { |
expect(Zone.current, equals(zone)); |
sub.cancel(); |
})); |