Skip to content

Commit f273530

Browse files
committed
Remove stack check from fn ctor test
This is not consistent across different Node versions.
1 parent 80ee6aa commit f273530

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test.js

-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ it('function constructor', function() {
247247
'throw new Function(")");'
248248
], [
249249
'SyntaxError: Unexpected token )',
250-
/^ at (?:Object\.)?Function \((?:unknown source|<anonymous>|native)\)$/,
251-
/^ at Object\.exports\.test \((?:.*\/)?line1\.js:1001:101\)$/,
252250
]);
253251
});
254252

0 commit comments

Comments
 (0)