Index: tests/html/custom/entered_left_view_test.dart |
diff --git a/tests/html/custom/entered_left_view_test.dart b/tests/html/custom/entered_left_view_test.dart |
index 069c0329b284f7979a7bcc286c0699060cb2648f..a2804bc1680512977fd9476ca4efed1f16afdadd 100644 |
--- a/tests/html/custom/entered_left_view_test.dart |
+++ b/tests/html/custom/entered_left_view_test.dart |
@@ -77,8 +77,8 @@ main() { |
setUp(() => customElementsReady.then((_) { |
if (registeredTypes) return; |
registeredTypes = true; |
- document.register('x-a', Foo); |
- document.register('x-a-old', FooOldCallbacks); |
+ document.registerElement('x-a', Foo); |
+ document.registerElement('x-a-old', FooOldCallbacks); |
})); |
group('standard_events', () { |