Index: tests/html/wheelevent_test.dart |
diff --git a/tests/html/wheelevent_test.dart b/tests/html/wheelevent_test.dart |
index 4acb908b462e18c99c9675cc432fe76fa90c9fa6..d733a94f868e13b8d04ae93417e7a236738df943 100644 |
--- a/tests/html/wheelevent_test.dart |
+++ b/tests/html/wheelevent_test.dart |
@@ -16,7 +16,7 @@ main() { |
var element = new DivElement(); |
var eventType = Element.mouseWheelEvent.getEventType(element); |
- element.onMouseWheel.listen(expectAsync1((e) { |
+ element.onMouseWheel.listen(expectAsync((e) { |
expect(e.screen.x, 100); |
expect(e.deltaX, 0); |
expect(e.deltaY.toDouble(), 240.0); |
@@ -33,7 +33,7 @@ main() { |
var element = new DivElement(); |
var eventType = Element.mouseWheelEvent.getEventType(element); |
- element.onMouseWheel.listen(expectAsync1((e) { |
+ element.onMouseWheel.listen(expectAsync((e) { |
expect(e.screen.x, 100); |
expect(e.deltaX, 0); |
expect(e.deltaY.toDouble(), 240.0); |