diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2016-01-07 14:08:43 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2016-01-07 14:08:43 -0500 |
commit | 636a2bd4e080f80e3dcc1eb00a5222d8c1eee617 (patch) | |
tree | e295f287129307e5eceb7d07b49b903ef923434c | |
parent | 0ee94bcb9d49acb0706921b1ab4b13883b1fdd7f (diff) | |
download | jquery-636a2bd4e080f80e3dcc1eb00a5222d8c1eee617.tar.gz jquery-636a2bd4e080f80e3dcc1eb00a5222d8c1eee617.zip |
Tests: fix lint in restored test
-rw-r--r-- | test/unit/event.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/event.js b/test/unit/event.js index b574efc7e..6cccb8d1a 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -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 ) {} } ); |