From 83dfb99ea96b7c528667d38bb5e0bcff3dd0f309 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Mon, 11 Jun 2012 22:35:04 -0400 Subject: [PATCH] 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. --- test/data/badcall.js | 1 + test/unit/manipulation.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 test/data/badcall.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" ); });