From 435fbe17930d4e01b3e7b1a2ca6a925769b6e847 Mon Sep 17 00:00:00 2001 From: James Huston Date: Mon, 15 Oct 2012 12:18:14 -0400 Subject: [PATCH] Enforce expects in events.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-962 --- test/unit/traversing.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unit/traversing.js b/test/unit/traversing.js index e7d519662..e1d982c80 100644 --- a/test/unit/traversing.js +++ b/test/unit/traversing.js @@ -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)" ); }); -- 2.39.5