Index: tests/html/keyboard_event_test.dart |
diff --git a/tests/html/keyboard_event_test.dart b/tests/html/keyboard_event_test.dart |
index 4f32f2dd1958523c851b4836dfd4b611d890a83e..001d4d6d33d67e45a17546668fc8cfec889b9c69 100644 |
--- a/tests/html/keyboard_event_test.dart |
+++ b/tests/html/keyboard_event_test.dart |
@@ -14,6 +14,9 @@ main() { |
expect(e.charCode, 0); |
} |
+ test('keyboardEvent constructor', () { |
+ var event = new KeyboardEvent('keyup', document.window); |
+ }); |
test('keys', () { |
// This test currently is pretty much a no-op because we |
// can't (right now) construct KeyboardEvents with specific keycode/charcode |