Index: tests/html/keyboard_event_test.dart |
diff --git a/tests/html/keyboard_event_test.dart b/tests/html/keyboard_event_test.dart |
index 0fe4fdbdab8ed2fd5e80fa849c359d4089c0590e..da0842aa9f3e6940306cc587aee8c3b3aa2ae40a 100644 |
--- a/tests/html/keyboard_event_test.dart |
+++ b/tests/html/keyboard_event_test.dart |
@@ -26,7 +26,7 @@ main() { |
var controller = new KeyboardEventController.keydown(document.body); |
var func = keydownHandlerTest; |
controller.add(func); |
- document.body.on.keyDown.add((e) => print('regular listener'), false); |
+ document.body.onKeyDown.listen((e) => print('regular listener')); |
}); |
} |