diff options
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/string-literal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/string-literal.js b/test/mocha/string-literal.js index ea984213..d427472f 100644 --- a/test/mocha/string-literal.js +++ b/test/mocha/string-literal.js @@ -49,7 +49,7 @@ describe("String literals", function() { var error = function(e) { return e instanceof UglifyJS.JS_Parse_Error && - e.message === "Octal literals are not allowed in strict mode"; + e.message === "SyntaxError: Octal literals are not allowed in strict mode"; } for (var input in inputs) { |