Index: tests/html/custom/template_wrappers_test.dart |
diff --git a/tests/html/custom/template_wrappers_test.dart b/tests/html/custom/template_wrappers_test.dart |
index 5b9ff64fdde0bf233ac0fa05edb48f032d6bfaec..0828c976b0a5e70fea3d560771589486efb4d735 100644 |
--- a/tests/html/custom/template_wrappers_test.dart |
+++ b/tests/html/custom/template_wrappers_test.dart |
@@ -30,7 +30,7 @@ main() { |
test('element is upgraded once', () { |
expect(createdCount, 0); |
- document.register('x-custom', CustomElement); |
+ document.registerElement('x-custom', CustomElement); |
expect(createdCount, 0); |
var element = document.createElement('x-custom'); |
@@ -54,7 +54,7 @@ main() { |
d1.attributes['foo'] = 'bar'; |
d1 = null; |
- document.register('x-custom-two', CustomElement); |
+ document.registerElement('x-custom-two', CustomElement); |
expect(createdCount, 1); |