X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=03f89d1cc098cd2d0b474e2052da4f06656933d4;hb=06c2f06a2183ef17a8119ef25a383a02572c0b55;hp=12b405644ac4dc2c6b5ce8b4d6575d214e13d664;hpb=da33a981c6fb18a195377d55a6d243e2de887f45;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index 12b4056..03f89d1 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -152,7 +152,7 @@ test("isFunction", function() { var foo = false; test("$('html')", function() { - expect(5); + expect(6); reset(); foo = false; @@ -169,6 +169,8 @@ test("$('html')", function() { var j = $("hi there "); ok( j.length >= 2, "Check node,textnode,comment creation (some browsers delete comments)" ); + + ok( !$("")[0].selected, "Make sure that options are auto-selected #2050" ); }); test("$('html', context)", function() {