summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/toString/arrow-function.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/toString/arrow-function.js')
-rw-r--r--test/built-ins/Function/prototype/toString/arrow-function.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/built-ins/Function/prototype/toString/arrow-function.js b/test/built-ins/Function/prototype/toString/arrow-function.js
index 62fab71ae..06990b14c 100644
--- a/test/built-ins/Function/prototype/toString/arrow-function.js
+++ b/test/built-ins/Function/prototype/toString/arrow-function.js
@@ -6,10 +6,9 @@ esid: sec-arrow-function-definitions-runtime-semantics-evaluation
description: Function.prototype.toString on an arrow function
---*/
-let f = /* before */ ( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */
-} /* after */ ;
-let g = /* before */ ( /* a */ ) /* b */ => /* c */ 0 /* after */ ;
-let h = /* before */ a /* a */ => /* b */ 0 /* after */ ;
+let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */;
+let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */;
+let h = /* before */a /* a */ => /* b */ 0/* after */;
assert.sameValue(f.toString(), "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }");
assert.sameValue(g.toString(), "( /* a */ ) /* b */ => /* c */ 0");