X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;h=739868bd7bf5d9d4b53e8f8cce78bb713d95dbd1;hp=a68c214ba08f994d4941c458619c8721dfb456a6;hb=f1bd0cfc4d3eabf566b6a3345d888e6db67bc00b;hpb=1922f311a321620f9df609503f49f41a53671ea4 diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index a68c214..739868b 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() {