diff options
Diffstat (limited to 'test/mocha/cli.js')
-rw-r--r-- | test/mocha/cli.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js index 475eae65..af1ed1f8 100644 --- a/test/mocha/cli.js +++ b/test/mocha/cli.js @@ -624,7 +624,7 @@ describe("bin/uglifyjs", function() { "Parse error at test/input/invalid/for-in_1.js:2,5", "for (1, 2, a in b) {", " ^", - "ERROR: Invalid left-hand side in for..in loop" + "ERROR: Invalid left-hand side in for..in/of loop" ].join("\n")); done(); }); @@ -638,7 +638,7 @@ describe("bin/uglifyjs", function() { "Parse error at test/input/invalid/for-in_2.js:2,5", "for (var a, b in c) {", " ^", - "ERROR: Only one variable declaration allowed in for..in loop" + "ERROR: Only one variable declaration allowed in for..in/of loop" ].join("\n")); done(); }); |