From: Timmy Willison Date: Thu, 7 Jan 2016 19:08:43 +0000 (-0500) Subject: Tests: fix lint in restored test X-Git-Tag: 2.2.0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=636a2bd4e080f80e3dcc1eb00a5222d8c1eee617;p=jquery.git Tests: fix lint in restored test --- 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 ) {} } );