Remove arrow function syntax from harness/assert.js

After conversations in #1215, 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
1 changed files with 1 additions and 1 deletions

View File

@ -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}`);
};