X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2FcoreTest.js;h=20aaea85772acade56ba57bad58d256da7d02438;hb=b147039acc32884b50b955ebd94eeaa430713786;hp=602da848c87756757eaf8468d38576a49d91af73;hpb=69ef5fac9e84623c1260cf4d548c1034ac7e45a8;p=jquery.git diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index 602da84..20aaea8 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -12,7 +12,7 @@ test("Basic requirements", function() { }); test("$()", function() { - expect(3); + expect(2); var main = $("#main"); isSet( $("div p", main).get(), q("sndp", "en", "sap"), "Basic selector with jQuery object as context" ); @@ -327,7 +327,7 @@ test("text()", function() { }); test("wrap(String|Element)", function() { - expect(7); + expect(6); var defaultText = 'Try them out:' var result = $('#first').wrap('
').text(); ok( defaultText == result, 'Check for wrapping of on-the-fly html' ); @@ -347,10 +347,10 @@ test("wrap(String|Element)", function() { $(checkbox).wrap( '' ); ok( checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" ); // use a fade in to check state after this event handler has finished - setTimeout(function() { + /*setTimeout(function() { ok( !checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" ); start(); - }, 100); + }, 100);*/ }).click(); });