X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=6bac6309c671cb5afe989daa614bc2913f645156;hb=c4c820efff4fa7bcce0d5bf0a448625278ea6379;hp=4b1da5167269b6978c25589ab5ea50ffb18f103d;hpb=d933e9c26d9c883af6de6a48c456294748582d3c;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("
")[0], "Create a table with closing tag." ); }); test("jQuery('html', context)", function() {