mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: fix lint in restored test
This commit is contained in:
parent
0ee94bcb9d
commit
636a2bd4e0
@ -11,12 +11,12 @@ QUnit.test( "null or undefined handler", function( assert ) {
|
||||
// Supports Fixes bug #7229
|
||||
try {
|
||||
jQuery( "#firstp" ).on( "click", null );
|
||||
ok( true, "Passing a null handler will not throw an exception" );
|
||||
assert.ok( true, "Passing a null handler will not throw an exception" );
|
||||
} catch ( e ) {}
|
||||
|
||||
try {
|
||||
jQuery( "#firstp" ).on( "click", undefined );
|
||||
ok( true, "Passing an undefined handler will not throw an exception" );
|
||||
assert.ok( true, "Passing an undefined handler will not throw an exception" );
|
||||
} catch ( e ) {}
|
||||
} );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user