diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2016-01-07 14:10:04 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2016-01-07 14:10:04 -0500 |
commit | 56b965655a293a6e1f09bf9c952d6175e6dba42b (patch) | |
tree | 0881e4f1e20c9e559c300d27ba27e18713d76438 /test | |
parent | 771600f8586a327e7a4853e01b6f94aadad5c606 (diff) | |
download | jquery-56b965655a293a6e1f09bf9c952d6175e6dba42b.tar.gz jquery-56b965655a293a6e1f09bf9c952d6175e6dba42b.zip |
Tests: use assert syntax in restored test
Diffstat (limited to '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 a5d2412a9..c8c0667d3 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 ) {} } ); |