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