Normalize error messages

This commit is contained in:
Anthony Van de Gejuchte
2016-06-18 17:28:22 +02:00
committed by Richard van Velzen
parent 2149bfb707
commit 6c99816855
4 changed files with 20 additions and 20 deletions

View File

@@ -71,7 +71,7 @@ describe("Getters and setters", function() {
var fail = function(data) {
return function (e) {
return e instanceof UglifyJS.JS_Parse_Error &&
e.message === "Invalid getter/setter name: " + data.operator;
e.message === "SyntaxError: Invalid getter/setter name: " + data.operator;
};
};