Add ecma5 flag for codegen

This commit is contained in:
Anthony Van de Gejuchte
2016-06-26 19:44:22 +02:00
committed by Richard van Velzen
parent 63c432f4fa
commit 54a783ba84
3 changed files with 69 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ describe("Unicode", function() {
for (var i = 0; i < tests.length; i++) {
assert.strictEqual(uglify.minify(tests[i][0], {
fromString: true, output: { ascii_only: true}
fromString: true, output: { ascii_only: true, ecma: 6}
}).code, tests[i][1]);
}
});