Index: tests/html/node_test.dart |
diff --git a/tests/html/node_test.dart b/tests/html/node_test.dart |
index 3dd567948bd2f70477a01246deef0c79614adae4..18f7f36dfff9eb9ef344db9382d456d7dad2f9b6 100644 |
--- a/tests/html/node_test.dart |
+++ b/tests/html/node_test.dart |
@@ -316,6 +316,13 @@ main() { |
expect(node.nodes[6], isImageElement); |
expect(node.nodes[7], isInputElement); |
expect(node.nodes[8], isComment); |
+ |
+ var d = new DivElement(); |
+ var ns = d.nodes; |
+ // `insertAll` should work when positioned at end. |
+ ns.insertAll(ns.length, [new HRElement()]); |
+ expect(ns.length, 1); |
+ expect(ns[0], isHRElement); |
}); |
testUnsupported('removeRange', () { |