Skip to content
Permalink
Browse files

Enforce expects in events.js (jquery/2012-dev-summit#53) Closes gh-962

  • Loading branch information...
james-huston authored and rwaldron committed Oct 15, 2012
1 parent 6ac8716 commit 435fbe17930d4e01b3e7b1a2ca6a925769b6e847
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/unit/traversing.js
@@ -346,6 +346,8 @@ test("not(Element)", function() {
});

test("not(Function)", function() {
expect(1);

This comment has been minimized.

Copy link
@mikesherov

mikesherov Oct 15, 2012

Member

expect( 1 );

This comment has been minimized.

Copy link
@rwaldron

rwaldron Oct 15, 2012

Member

We have @erickrdch doing style


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)" );
});

0 comments on commit 435fbe1

Please sign in to comment.
You can’t perform that action at this time.