diff options
Diffstat (limited to 'test/unit/manipulation.js')
-rw-r--r-- | test/unit/manipulation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 4765131e3..f403d8f8e 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -2252,13 +2252,13 @@ test( "html() - script exceptions bubble (#11743)", function() { expect( 2 ); - raises(function() { + throws(function() { jQuery("#qunit-fixture").html("<script>undefined(); ok( false, 'Exception not thrown' );</script>"); ok( false, "Exception ignored" ); }, "Exception bubbled from inline script" ); if ( jQuery.ajax ) { - raises(function() { + throws(function() { jQuery("#qunit-fixture").html("<script src='data/badcall.js'></script>"); ok( false, "Exception ignored" ); }, "Exception thrown in remote script" ); |