diff options
author | Leo Balter <leonardo.balter@gmail.com> | 2017-09-07 15:55:28 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2017-09-08 10:13:23 -0400 |
commit | 74cfdfcca33b217c6a16789ab3df4468629c00c1 (patch) | |
tree | d801f86811d67a5f63d583cf4be9adbd259f7c69 /harness | |
parent | 9376782c6e519e0f92f43b1871d02ac0c842c9ae (diff) | |
download | qtdeclarative-testsuites-74cfdfcca33b217c6a16789ab3df4468629c00c1.tar.gz |
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.
Diffstat (limited to 'harness')
-rw-r--r-- | harness/assert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harness/assert.js b/harness/assert.js index 4f4df41a1..0898bfd90 100644 --- a/harness/assert.js +++ b/harness/assert.js @@ -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}`); }; |