mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Enforce expects in events.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-962
This commit is contained in:
committed by
Rick Waldron
parent
6ac8716789
commit
435fbe1793
@@ -346,6 +346,8 @@ test("not(Element)", function() {
|
||||
});
|
||||
|
||||
test("not(Function)", function() {
|
||||
expect(1);
|
||||
|
||||
deepEqual( jQuery("#qunit-fixture p").not(function() { return jQuery("a", this).length; }).get(), q("sndp", "first"), "not(Function)" );
|
||||
});
|
||||
|
||||
@@ -357,7 +359,7 @@ test("not(Array)", function() {
|
||||
});
|
||||
|
||||
test("not(jQuery)", function() {
|
||||
expect(1);
|
||||
expect( 1 );
|
||||
|
||||
deepEqual( jQuery("p").not(jQuery("#ap, #sndp, .result")).get(), q("firstp", "en", "sap", "first"), "not(jQuery)" );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user