summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js')
-rw-r--r--test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js b/test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js
index 3c9848558..f51f2ee2c 100644
--- a/test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js
+++ b/test/built-ins/Function/prototype/toString/async-generator-method-class-expression.js
@@ -8,9 +8,15 @@ features: [async-iteration]
---*/
let x = "h";
-let f = class { /* before */async /* a */ * /* b */ f /* c */ ( /* d */ ) /* e */ { /* f */ }/* after */ }.prototype.f;
-let g = class { /* before */async /* a */ * /* b */ [ /* c */ "g" /* d */ ] /* e */ ( /* f */ ) /* g */ { /* h */ }/* after */ }.prototype.g;
-let h = class { /* before */async /* a */ * /* b */ [ /* c */ x /* d */ ] /* e */ ( /* f */ ) /* g */ { /* h */ }/* after */ }.prototype.h;
+let f = class { /* before */
+ async /* a */ * /* b */ f /* c */ ( /* d */ ) /* e */ { /* f */ } /* after */
+}.prototype.f;
+let g = class { /* before */
+ async /* a */ * /* b */ [ /* c */ "g" /* d */ ] /* e */ ( /* f */ ) /* g */ { /* h */ } /* after */
+}.prototype.g;
+let h = class { /* before */
+ async /* a */ * /* b */ [ /* c */ x /* d */ ] /* e */ ( /* f */ ) /* g */ { /* h */ } /* after */
+}.prototype.h;
assert.sameValue(f.toString(), "async /* a */ * /* b */ f /* c */ ( /* d */ ) /* e */ { /* f */ }");
assert.sameValue(g.toString(), "async /* a */ * /* b */ [ /* c */ \"g\" /* d */ ] /* e */ ( /* f */ ) /* g */ { /* h */ }");