From: Dave Methvin Date: Tue, 12 Jun 2012 02:35:04 +0000 (-0400) Subject: Tweak test for #11743 in an attempt to placate Jenkins. X-Git-Tag: 1.8b1~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83dfb99ea96b7c528667d38bb5e0bcff3dd0f309;p=jquery.git 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. --- diff --git a/test/data/badcall.js b/test/data/badcall.js new file mode 100644 index 000000000..cc2f2b42c --- /dev/null +++ b/test/data/badcall.js @@ -0,0 +1 @@ +undefined(); diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 5ef64ed54..13c653533 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1810,7 +1810,7 @@ test("html() - script exceptions bubble (#11743)", function() { }, "exception bubbled from inline script" ); raises(function() { - jQuery("#qunit-fixture").html(""); + jQuery("#qunit-fixture").html(""); ok( false, "error ignored" ); }, "exception bubbled from remote script" ); });