summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js')
-rw-r--r--test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js b/test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js
index c3b4b264f..a015ab88d 100644
--- a/test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js
+++ b/test/built-ins/Function/prototype/toString/class-declaration-explicit-ctor.js
@@ -6,8 +6,13 @@ esid: sec-runtime-semantics-bindingclassdeclarationevaluation
description: Function.prototype.toString on a class declaration (explicit constructor)
---*/
-/* before */class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }/* after */
+/* before */
+class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */
+ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */
+ } /* k */
+ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */
+} /* after */
assert.sameValue(A.toString(), "class /* a */ A /* b */ extends /* c */ B /* d */ { /* e */ constructor /* f */ ( /* g */ ) /* h */ { /* i */ ; /* j */ } /* k */ m /* l */ ( /* m */ ) /* n */ { /* o */ } /* p */ }");
-function B(){}
+function B() {}