Skip to content

Commit 56b9656

Browse files
committed
Tests: use assert syntax in restored test
1 parent 771600f commit 56b9656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/event.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ QUnit.test( "null or undefined handler", function( assert ) {
1111
// Supports Fixes bug #7229
1212
try {
1313
jQuery( "#firstp" ).on( "click", null );
14-
ok( true, "Passing a null handler will not throw an exception" );
14+
assert.ok( true, "Passing a null handler will not throw an exception" );
1515
} catch ( e ) {}
1616

1717
try {
1818
jQuery( "#firstp" ).on( "click", undefined );
19-
ok( true, "Passing an undefined handler will not throw an exception" );
19+
assert.ok( true, "Passing an undefined handler will not throw an exception" );
2020
} catch ( e ) {}
2121
} );
2222

0 commit comments

Comments
 (0)