X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjquery%2FcoreTest.js;h=0592ae9267983c9eb606aeead514e1912902be00;hb=33ee5c317d0f1aa64d8d8e567425dd8fe2789cd0;hp=049c4cc9751754c3571568f075f35fd60f84914b;hpb=9c94ef4c411867d38f301ccbf406af21e277188c;p=jquery.git diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index 049c4cc..0592ae9 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -356,7 +356,7 @@ test("wrap(String|Element)", function() { }); test("append(String|Element|Array<Element>|jQuery)", function() { - expect(12); + expect(14); var defaultText = 'Try them out:' var result = $('#first').append('buga'); ok( result.text() == defaultText + 'buga', 'Check if text appending works' ); @@ -404,10 +404,18 @@ test("append(String|Element|Array<Element>|jQuery)", function() { ok( pass, "Test for appending a DOM node to the contents of an IFrame" ); + reset(); + $('