Index: tests/html/native_gc_test.dart |
diff --git a/tests/html/native_gc_test.dart b/tests/html/native_gc_test.dart |
index 8ed06bb02592cd4fe5729b93495f603d6a94bac1..14ad75deed74fbd440c2b339dd3c7a9842b228bd 100644 |
--- a/tests/html/native_gc_test.dart |
+++ b/tests/html/native_gc_test.dart |
@@ -38,7 +38,7 @@ main() { |
Element testDiv = new DivElement(); |
testDiv.id = '#TestDiv'; |
- document.body.nodes.add(testDiv); |
+ document.body.append(testDiv); |
window.onMessage.listen((e) { |
if (e.data == message) testDiv.click(); |
}); |