Index: tests/html/documentfragment_test.dart |
diff --git a/tests/html/documentfragment_test.dart b/tests/html/documentfragment_test.dart |
index 8146e1f361fa64db48336b68d7de5523eab7c57f..d384c98a990df6413b7d837ef7879f0925a2ded5 100644 |
--- a/tests/html/documentfragment_test.dart |
+++ b/tests/html/documentfragment_test.dart |
@@ -161,7 +161,7 @@ main() { |
test('setting innerHtml works', () { |
var fragment = new DocumentFragment(); |
- fragment.nodes.add(new Text("foo")); |
+ fragment.append(new Text("foo")); |
fragment.innerHtml = "<a>bar</a>baz"; |
expect(_nodeStrings(fragment.nodes), equals(["A", "baz"])); |
}); |