We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee94bc commit 636a2bdCopy full SHA for 636a2bd
test/unit/event.js
@@ -11,12 +11,12 @@ QUnit.test( "null or undefined handler", function( assert ) {
11
// Supports Fixes bug #7229
12
try {
13
jQuery( "#firstp" ).on( "click", null );
14
- ok( true, "Passing a null handler will not throw an exception" );
+ assert.ok( true, "Passing a null handler will not throw an exception" );
15
} catch ( e ) {}
16
17
18
jQuery( "#firstp" ).on( "click", undefined );
19
- ok( true, "Passing an undefined handler will not throw an exception" );
+ assert.ok( true, "Passing an undefined handler will not throw an exception" );
20
21
} );
22
0 commit comments