X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=inline;f=test%2Funit%2Fcore.js;h=6bac6309c671cb5afe989daa614bc2913f645156;hb=bf71575bb4f37321b71ef8ce21c8208ad2b192da;hp=4b1da5167269b6978c25589ab5ea50ffb18f103d;hpb=b256a3a266721f04d38dca59e56b37b9a682b2f2;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index 4b1da51..6bac630 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -310,7 +310,7 @@ test("isXMLDoc - XML", function() { } test("jQuery('html')", function() { - expect(13); + expect(15); reset(); jQuery.foo = false; @@ -339,6 +339,9 @@ test("jQuery('html')", function() { ok( j.length >= 2, "Check node,textnode,comment creation (some browsers delete comments)" ); ok( !jQuery("")[0].selected, "Make sure that options are auto-selected #2050" ); + + ok( jQuery("
")[0], "Create a div with closing tag." ); + ok( jQuery("