Index: tests/html/transition_event_test.dart |
diff --git a/tests/html/transition_event_test.dart b/tests/html/transition_event_test.dart |
index 8e041105354de264849adb5c517e88a7d0e59199..646061f218ed271236e9082ddfe6aef732c2b441 100644 |
--- a/tests/html/transition_event_test.dart |
+++ b/tests/html/transition_event_test.dart |
@@ -29,8 +29,8 @@ main() { |
element.style.background = 'red'; |
element.style.transition = 'opacity .1s'; |
- new Timer(const Duration(milliseconds: 100), expectAsync0(() { |
- element.onTransitionEnd.first.then(expectAsync1((e) { |
+ new Timer(const Duration(milliseconds: 100), expectAsync(() { |
+ element.onTransitionEnd.first.then(expectAsync((e) { |
expect(e is TransitionEvent, isTrue); |
expect(e.propertyName, 'opacity'); |
})); |