aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/string-literal.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/string-literal.js')
-rw-r--r--test/mocha/string-literal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/string-literal.js b/test/mocha/string-literal.js
index d427472f..fc4c4277 100644
--- a/test/mocha/string-literal.js
+++ b/test/mocha/string-literal.js
@@ -19,7 +19,7 @@ describe("String literals", function() {
var error = function(e) {
return e instanceof UglifyJS.JS_Parse_Error &&
- e.message === "Unterminated string constant";
+ e.message === "SyntaxError: Unterminated string constant";
};
for (var input in inputs) {