Ticket #4578: verify_undefined_selector.diff
| File verify_undefined_selector.diff, 786 bytes (added by subtlegradient, 4 years ago) |
|---|
-
jquery/test/unit/core.js
12 12 }); 13 13 14 14 test("jQuery()", function() { 15 expect( 8);15 expect(9); 16 16 17 17 var main = jQuery("#main"); 18 18 isSet( jQuery("div p", main).get(), q("sndp", "en", "sap"), "Basic selector with jQuery object as context" ); … … 50 50 equals( jQuery([1,2,3]).get(1), 2, "Test passing an array to the factory" ); 51 51 52 52 equals( jQuery(document.body).get(0), jQuery('body').get(0), "Test passing an html node to the factory" ); 53 54 equals( jQuery(undefined).get(0), jQuery('shouldnotexist').get(0), "Test passing undefined node to the factory" ); 53 55 }); 54 56 55 57 test("selector state", function() {
