aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/cli.js')
-rw-r--r--test/mocha/cli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js
index 8c7964ac..8cf53ab4 100644
--- a/test/mocha/cli.js
+++ b/test/mocha/cli.js
@@ -185,7 +185,7 @@ describe("bin/uglifyjs", function () {
exec(command, function (err, stdout, stderr) {
assert.ok(err);
- assert.strictEqual(stderr, "ERROR: inline source map only works with singular input\n");
+ assert.strictEqual(stderr.split(/\n/)[0], "ERROR: inline source map only works with singular input");
done();
});
});