Normalize error messages
This commit is contained in:
committed by
Richard van Velzen
parent
2149bfb707
commit
6c99816855
@@ -9,7 +9,7 @@ describe("With", function() {
|
||||
}
|
||||
var error = function(e) {
|
||||
return e instanceof uglify.JS_Parse_Error &&
|
||||
e.message === "Strict mode may not include a with statement";
|
||||
e.message === "SyntaxError: Strict mode may not include a with statement";
|
||||
}
|
||||
assert.throws(test, error);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user