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 dc909546b..24da8db6c 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1129,7 +1129,7 @@ test("jQuery.parseXML", 4, function(){ xml = jQuery.parseXML( "<p>Not a <<b>well-formed</b> xml string</p>" ); ok( false, "invalid xml not detected" ); } catch( e ) { - strictEqual( e, "Invalid XML: <p>Not a <<b>well-formed</b> xml string</p>", "invalid xml detected" ); + strictEqual( e.message, "Invalid XML: <p>Not a <<b>well-formed</b> xml string</p>", "invalid xml detected" ); } }); |