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