From f1bd0cfc4d3eabf566b6a3345d888e6db67bc00b Mon Sep 17 00:00:00 2001 From: rwldrn Date: Sat, 22 Jan 2011 00:41:42 +0100 Subject: Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lint --- test/unit/manipulation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index a68c214ba..739868bd7 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -880,7 +880,7 @@ test("jQuery.clone() (#8017)", function() { var main = jQuery("#main")[0], clone = jQuery.clone( main ); - equals( main.children.length, clone.children.length, "Simple child length to ensure a large dom tree copies correctly" ); + equals( main.childNodes.length, clone.childNodes.length, "Simple child length to ensure a large dom tree copies correctly" ); }); test("clone()", function() { -- cgit v1.2.3