Remove stack check from fn ctor test

This is not consistent across different Node versions.
master
kpdecker 8 years ago
parent 80ee6aadd7
commit f2735304c0

@ -247,8 +247,6 @@ it('function constructor', function() {
'throw new Function(")");'
], [
'SyntaxError: Unexpected token )',
/^ at (?:Object\.)?Function \((?:unknown source|<anonymous>|native)\)$/,
/^ at Object\.exports\.test \((?:.*\/)?line1\.js:1001:101\)$/,
]);
});

Loading…
Cancel
Save