diff options
Diffstat (limited to 'test/built-ins/Function/prototype/toString/setter-class-statement-static.js')
-rw-r--r-- | test/built-ins/Function/prototype/toString/setter-class-statement-static.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/built-ins/Function/prototype/toString/setter-class-statement-static.js b/test/built-ins/Function/prototype/toString/setter-class-statement-static.js index dec3c2471..7a5a37de0 100644 --- a/test/built-ins/Function/prototype/toString/setter-class-statement-static.js +++ b/test/built-ins/Function/prototype/toString/setter-class-statement-static.js @@ -7,15 +7,9 @@ description: Function.prototype.toString on a setter (class; static) ---*/ let x = "h"; -class F { - static /* before */ set /* a */ f /* b */ ( /* c */ a /* d */ ) /* e */ { /* f */ } /* after */ -} -class G { - static /* before */ set /* a */ [ /* b */ "g" /* c */ ] /* d */ ( /* e */ a /* f */ ) /* g */ { /* h */ } /* after */ -} -class H { - static /* before */ set /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ a /* f */ ) /* g */ { /* h */ } /* after */ -} +class F { static /* before */set /* a */ f /* b */ ( /* c */ a /* d */ ) /* e */ { /* f */ }/* after */ } +class G { static /* before */set /* a */ [ /* b */ "g" /* c */ ] /* d */ ( /* e */ a /* f */ ) /* g */ { /* h */ }/* after */ } +class H { static /* before */set /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ a /* f */ ) /* g */ { /* h */ }/* after */ } let f = Object.getOwnPropertyDescriptor(F, "f").set; let g = Object.getOwnPropertyDescriptor(G, "g").set; |