diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/ajax.js | 4 | ||||
-rw-r--r-- | test/unit/manipulation.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 3d3bfb9aa..69eae3211 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1628,10 +1628,10 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re // Global events get confused by the exception global: false, success: function() { - ok( false, "Success." ); + assert.ok( false, "Success." ); }, error: function() { - ok( false, "Error." ); + assert.ok( false, "Error." ); } }); }); diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 050853bf5..e5c65e32a 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -2297,7 +2297,7 @@ QUnit.test( "html() - script exceptions bubble (#11743)", function( assert ) { if ( jQuery.ajax ) { var onerror = window.onerror; window.onerror = function() { - ok( true, "Exception thrown in remote script" ); + assert.ok( true, "Exception thrown in remote script" ); }; jQuery("#qunit-fixture").html("<script src='data/badcall.js'></script>"); |