aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/minify.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/minify.js')
-rw-r--r--test/mocha/minify.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/minify.js b/test/mocha/minify.js
index 638e79f7..b4722ce2 100644
--- a/test/mocha/minify.js
+++ b/test/mocha/minify.js
@@ -212,7 +212,7 @@ describe("minify", function() {
});
var err = result.error;
assert.ok(err instanceof Error);
- assert.strictEqual(err.stack.split(/\n/)[0], "Error: Can't handle expression: debugger");
+ assert.strictEqual(err.stack.split(/\n/)[0], "SyntaxError: Unexpected token: keyword (debugger)");
});
it("should skip inherited properties", function() {
var foo = Object.create({ skip: this });