diff options
Diffstat (limited to 'test/mocha/cli.js')
-rw-r--r-- | test/mocha/cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js index 0b4fe007..fa952d91 100644 --- a/test/mocha/cli.js +++ b/test/mocha/cli.js @@ -247,7 +247,7 @@ describe("bin/uglifyjs", function () { assert.strictEqual(lines[0], "Parse error at test/input/invalid/loop-no-body.js:2,0"); assert.strictEqual(lines[1], "for (var i = 0; i < 1; i++) "); assert.strictEqual(lines[2], " ^"); - assert.strictEqual(lines[3], "SyntaxError: Expected expression"); + assert.strictEqual(lines[3], "SyntaxError: Unexpected token: eof (undefined)"); done(); }); }); |