Index: tests/html/binding_syntax_test.dart |
diff --git a/tests/html/binding_syntax_test.dart b/tests/html/binding_syntax_test.dart |
index 0aa77328064534f0ea7942d9f82946a2cda1cc89..4e89a0a375fb339eb7644652bab26c4a6bfd243b 100644 |
--- a/tests/html/binding_syntax_test.dart |
+++ b/tests/html/binding_syntax_test.dart |
@@ -24,7 +24,7 @@ syntaxTests() { |
var testDiv; |
setUp(() { |
- document.body.nodes.add(testDiv = new DivElement()); |
+ document.body.append(testDiv = new DivElement()); |
}); |
tearDown(() { |
@@ -35,7 +35,7 @@ syntaxTests() { |
createTestHtml(s) { |
var div = new DivElement(); |
div.innerHtml = s; |
- testDiv.nodes.add(div); |
+ testDiv.append(div); |
for (var node in div.queryAll('*')) { |
if (node.isTemplate) TemplateElement.decorate(node); |