Index: tests/html/event_test.dart |
diff --git a/tests/html/event_test.dart b/tests/html/event_test.dart |
index df0fe1cefeb54c62c5765d2568cc34e313fbc7f9..29ceea52d1ad1d43ccc81f981f853ad1d1425791 100644 |
--- a/tests/html/event_test.dart |
+++ b/tests/html/event_test.dart |
@@ -144,7 +144,7 @@ main() { |
test('DOMMutationEvent', () { |
var div = new DivElement(); |
div.on['DOMSubtreeModified'].add(expectAsync1((DOMMutationEvent e) {})); |
- div.nodes.add(new SpanElement()); |
+ div.append(new SpanElement()); |
}); |
// Issue 1005. |