X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=8cd1aee9a91b66d31f65c5ffd75709f9031f483b;hb=77bb2c505f1d2c4437f4b52866408f8bd1a5020f;hp=a5a59c3a1c0f4de05f654a214bb0ab90f844cb8a;hpb=d0fae71464427d9b9e29a5e3fa27729675bef95a;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index a5a59c3..8cd1aee 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -955,11 +955,23 @@ test("find(String)", function() { }); test("clone()", function() { - expect(4); + expect(20); ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' ); var clone = $('#yahoo').clone(); ok( 'Try them out:Yahoo' == $('#first').append(clone).text(), 'Check for clone' ); ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Reassert text for #en' ); + + var cloneTags = [ + "", "", "
", "
", + "