Index: tests/html/wheelevent_test.dart |
diff --git a/tests/html/wheelevent_test.dart b/tests/html/wheelevent_test.dart |
index b4c3c9b70863aa811f61793e2f43e829c5034c3e..f5b7e2d5c94f195b0511543dd3e7cc8e371bbfa2 100644 |
--- a/tests/html/wheelevent_test.dart |
+++ b/tests/html/wheelevent_test.dart |
@@ -30,7 +30,7 @@ main() { |
test('wheelEvent', () { |
var element = new DivElement(); |
- element.on.mouseWheel.add(expectAsync1((e) { |
+ element.onMouseWheel.listen(expectAsync1((e) { |
expect(e.screenX, 100); |
expect(e.deltaX, 0); |
expect(e.deltaY, 240); |