Legacy octal integer strict mode fixes

This commit is contained in:
Anthony Van de Gejuchte
2016-07-21 03:19:24 +02:00
parent e8b23c7798
commit 642273c290
3 changed files with 29 additions and 2 deletions

View File

@@ -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) {