Tweak test for #11743 in an attempt to placate Jenkins.

I can't get the current test to fail locally or in Browserstack, but suspect it may have something to do with badjson.js.
This commit is contained in:
Dave Methvin 2012-06-11 22:35:04 -04:00
parent 6a7f2492d0
commit 83dfb99ea9
2 changed files with 2 additions and 1 deletions

1
test/data/badcall.js Normal file
View File

@ -0,0 +1 @@
undefined();

View File

@ -1810,7 +1810,7 @@ test("html() - script exceptions bubble (#11743)", function() {
}, "exception bubbled from inline script" );
raises(function() {
jQuery("#qunit-fixture").html("<script src='data/badjson.js'></script>");
jQuery("#qunit-fixture").html("<script src='data/badcall.js'></script>");
ok( false, "error ignored" );
}, "exception bubbled from remote script" );
});