diff options
Diffstat (limited to 'test/built-ins/Function/prototype/toString/generator-function-declaration.js')
-rw-r--r-- | test/built-ins/Function/prototype/toString/generator-function-declaration.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/Function/prototype/toString/generator-function-declaration.js b/test/built-ins/Function/prototype/toString/generator-function-declaration.js index 133f9af8c..cab7f840d 100644 --- a/test/built-ins/Function/prototype/toString/generator-function-declaration.js +++ b/test/built-ins/Function/prototype/toString/generator-function-declaration.js @@ -6,6 +6,8 @@ esid: sec-generator-function-definitions-runtime-semantics-instantiatefunctionob description: Function.prototype.toString on a generator function declaration ---*/ -/* before */function /* a */ * /* b */ g /* c */ ( /* d */ x /* e */ , /* f */ y /* g */ ) /* h */ { /* i */ ; /* j */ ; /* k */ }/* after */ +/* before */ +function /* a */ * /* b */ g /* c */ ( /* d */ x /* e */ , /* f */ y /* g */ ) /* h */ { /* i */ ; /* j */ ; /* k */ +} /* after */ assert.sameValue(g.toString(), "function /* a */ * /* b */ g /* c */ ( /* d */ x /* e */ , /* f */ y /* g */ ) /* h */ { /* i */ ; /* j */ ; /* k */ }"); |