Index: tests/html/custom/mirrors_test.dart |
diff --git a/tests/html/custom/mirrors_test.dart b/tests/html/custom/mirrors_test.dart |
index e8778d179ed51b7d1f51485cb1950a35e503cc5a..87a7ffd0c652b6db81226bac832e894bdbdf9ead 100644 |
--- a/tests/html/custom/mirrors_test.dart |
+++ b/tests/html/custom/mirrors_test.dart |
@@ -22,8 +22,8 @@ main() { |
setUp(() => customElementsReady.then((_) { |
if (!registered) { |
registered = true; |
- document.register(A.tag, A); |
- document.register(B.tag, B); |
+ document.registerElement(A.tag, A); |
+ document.registerElement(B.tag, B); |
} |
})); |