aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/string-literal.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/string-literal.js')
-rw-r--r--test/mocha/string-literal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/string-literal.js b/test/mocha/string-literal.js
index fc4c4277..eb9e6f1c 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 === "SyntaxError: Octal literals are not allowed in strict mode";
+ e.message === "SyntaxError: Legacy octal escape sequences are not allowed in strict mode";
}
for (var input in inputs) {