aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r--test/unit/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index c89224c2e..9527beea1 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -1616,7 +1616,7 @@ test("jQuery.ajax() - malformed JSON", function() {
},
error: function(xhr, msg, detailedMsg) {
equal( "parsererror", msg, "A parse error occurred." );
- ok( /^(Invalid|SyntaxError|exception)/i.test(detailedMsg), "Detailed parsererror message provided" );
+ ok( /(invalid|error|exception)/i.test(detailedMsg), "Detailed parsererror message provided" );
start();
}
});