summaryrefslogtreecommitdiff
path: root/harness
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2017-09-07 15:55:28 -0400
committerRick Waldron <waldron.rick@gmail.com>2017-09-08 10:13:23 -0400
commit74cfdfcca33b217c6a16789ab3df4468629c00c1 (patch)
treed801f86811d67a5f63d583cf4be9adbd259f7c69 /harness
parent9376782c6e519e0f92f43b1871d02ac0c842c9ae (diff)
downloadqtdeclarative-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.js2
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}`);
};