]> source.dussan.org Git - jquery.git/commitdiff
Tweak test for #11743 in an attempt to placate Jenkins.
authorDave Methvin <dave.methvin@gmail.com>
Tue, 12 Jun 2012 02:35:04 +0000 (22:35 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 12 Jun 2012 02:35:04 +0000 (22:35 -0400)
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 [new file with mode: 0644]
test/unit/manipulation.js

diff --git a/test/data/badcall.js b/test/data/badcall.js
new file mode 100644 (file)
index 0000000..cc2f2b4
--- /dev/null
@@ -0,0 +1 @@
+undefined();
index 5ef64ed54932f1cf97e3739cb888a2ab6bde3b85..13c653533e41bbdbc21e1e4a1486dd3c76104336 100644 (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" );
 });