Index: tests/html/event_customevent_test.dart |
diff --git a/tests/html/event_customevent_test.dart b/tests/html/event_customevent_test.dart |
index ce80b552173c2d156d96d8c6c5c288854974f303..2f506278320d24164e962aee02077f7e18bd0708 100644 |
--- a/tests/html/event_customevent_test.dart |
+++ b/tests/html/event_customevent_test.dart |
@@ -27,7 +27,8 @@ main() { |
useHtmlConfiguration(); |
eventTest('CustomEvent.initCustomEvent', () { |
- return new CustomEvent('foo', false, false, 'detail'); |
+ return new CustomEvent('foo', canBubble: false, cancelable: false, |
+ detail: 'detail'); |
}, |
(ev) { expect(ev.detail, equals('detail')); }); |
} |