Skip to content

Commit b2e96dd

Browse files
committed
test: SyntaxError may quote unexpected token
1 parent 27606c1 commit b2e96dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ it('function constructor', function() {
269269
compareStackTrace(createMultiLineSourceMap(), [
270270
'throw new Function(")");'
271271
], [
272-
'SyntaxError: Unexpected token )',
272+
/SyntaxError: Unexpected token '?\)'?/,
273273
]);
274274
});
275275

0 commit comments

Comments
 (0)