]> source.dussan.org Git - jquery.git/commitdiff
Enforce expects in events.js (https://github.com/jquery/2012-dev-summit/issues/53...
authorJames Huston <james@jameshuston.net>
Mon, 15 Oct 2012 16:18:14 +0000 (12:18 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Mon, 15 Oct 2012 16:18:14 +0000 (12:18 -0400)
test/unit/traversing.js

index e7d5196628f67319b57ac262bdf04d1f79957a9b..e1d982c8022c5ea7a62bd859795eea90d9b3963b 100644 (file)
@@ -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)" );
 });