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