diff options
Diffstat (limited to 'test/unit/core.js')
-rw-r--r-- | test/unit/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index 3ca3c31fd..c0a719fe3 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -567,7 +567,7 @@ test("XSS via location.hash", function() { }; try { // This throws an error because it's processed like an id - jQuery( '#<img id="check9521" src="no-such-.gif" onerror="jQuery._check9521(false)">' ).appendTo("#qunit-fixture"); + jQuery( "#<img id='check9521' src='no-such-.gif' onerror='jQuery._check9521(false)'>" ).appendTo("#qunit-fixture"); } catch (err) { jQuery["_check9521"](true); } |