1
0
mirror of https://github.com/tc39/test262.git synced 2025-04-08 19:35:28 +02:00

Remove arrow function syntax from harness/assert.js

After conversations in , we need to catch up with the code that was previously
produced before we set the features flags requirements.
This commit is contained in:
Leo Balter 2017-09-07 15:55:28 -04:00 committed by Rick Waldron
parent 9376782c6e
commit 74cfdfcca3

@ -91,5 +91,5 @@ assert.throws.early = function(err, code) {
let wrappedCode = `function wrapperFn() { ${code} }`;
let ieval = eval;
assert.throws(err, () => { Function(wrappedCode); }, `Function: ${code}`);
assert.throws(err, function() { Function(wrappedCode); }, `Function: ${code}`);
};