aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mocha/cli.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js
index 33749045..b956309a 100644
--- a/test/mocha/cli.js
+++ b/test/mocha/cli.js
@@ -298,9 +298,9 @@ describe("bin/uglifyjs", function () {
assert.ok(err);
assert.strictEqual(stdout, "");
assert.strictEqual(stderr.split(/\n/).slice(0, 4).join("\n"), [
- "Parse error at test/input/invalid/assign_3.js:1,23",
+ "Parse error at test/input/invalid/assign_3.js:1,18",
"console.log(3 || ++this);",
- " ^",
+ " ^",
"SyntaxError: Invalid use of ++ operator"
].join("\n"));
done();