X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=aec334e52b053d2639330d7974b311d7b6e06948;hb=a78557472ce1c2cdf7db01a13fcc8591f3fdcfb0;hp=c8c7cad7ad5371e80f9f8a42466cb6fb2d04e528;hpb=4e7d565e50b4705f1daed7100937591330af34c4;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index c8c7cad..aec334e 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -53,7 +53,7 @@ test("jQuery()", function() { }); test("selector state", function() { - expect(28); + expect(30); var test; @@ -72,6 +72,10 @@ test("selector state", function() { test = jQuery("#main"); equals( test.selector, "#main", "#main Selector" ); equals( test.context, document, "#main Context" ); + + test = jQuery("#notfoundnono"); + equals( test.selector, "#notfoundnono", "#notfoundnono Selector" ); + equals( test.context, document, "#notfoundnono Context" ); test = jQuery("#main", document); equals( test.selector, "#main", "#main Selector" );