Skip to content

Commit

Permalink
test: SyntaxError may quote unexpected token
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Oct 15, 2019
1 parent 27606c1 commit b2e96dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -269,7 +269,7 @@ it('function constructor', function() {
compareStackTrace(createMultiLineSourceMap(), [
'throw new Function(")");'
], [
'SyntaxError: Unexpected token )',
/SyntaxError: Unexpected token '?\)'?/,
]);
});

Expand Down

0 comments on commit b2e96dd

Please sign in to comment.