| Index: tests/html/node_test.dart
|
| diff --git a/tests/html/node_test.dart b/tests/html/node_test.dart
|
| index d9cfe24a66153569dc987a6f8d407af2f2a714d1..fe31ed764c2de4f5f86faa36043596662a55dfd0 100644
|
| --- a/tests/html/node_test.dart
|
| +++ b/tests/html/node_test.dart
|
| @@ -159,6 +159,23 @@ main() {
|
| expect(node.nodes[3], isHRElement);
|
| expect(node.nodes[4], isImageElement);
|
| expect(node.nodes[5], isInputElement);
|
| +
|
| + var a = makeNodeWithChildren();
|
| + var b = makeNodeWithChildren();
|
| + var childrenLength = a.children.length + b.children.length;
|
| + var nodesLength = a.nodes.length + b.nodes.length;
|
| +
|
| + a.children.addAll(b.children);
|
| + expect(b.children.length, 0);
|
| + expect(a.children.length, childrenLength);
|
| +
|
| + b.nodes.addAll(a.children);
|
| + expect(a.children.length, 0);
|
| + expect(b.children.length, childrenLength);
|
| +
|
| + a.nodes.addAll(b.nodes);
|
| + expect(b.nodes.length, 0);
|
| + expect(a.nodes.length, nodesLength);
|
| });
|
|
|
| test('clear', () {
|
|
|