diff options
Diffstat (limited to 'test/built-ins/Function/prototype/toString/async-generator-expression.js')
-rw-r--r-- | test/built-ins/Function/prototype/toString/async-generator-expression.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/built-ins/Function/prototype/toString/async-generator-expression.js b/test/built-ins/Function/prototype/toString/async-generator-expression.js index 60a712820..1332f6c93 100644 --- a/test/built-ins/Function/prototype/toString/async-generator-expression.js +++ b/test/built-ins/Function/prototype/toString/async-generator-expression.js @@ -7,8 +7,10 @@ description: Function.prototype.toString on an async generator expression features: [async-iteration] ---*/ -let f = /* before */async /* a */ function /* b */ * /* c */ F /* d */ ( /* e */ x /* f */ , /* g */ y /* h */ ) /* i */ { /* j */ ; /* k */ ; /* l */ }/* after */; -let g = /* before */async /* a */ function /* b */ * /* c */ ( /* d */ x /* e */ , /* f */ y /* g */ ) /* h */ { /* i */ ; /* j */ ; /* k */ }/* after */; +let f = /* before */ async /* a */ function /* b */ * /* c */ F /* d */ ( /* e */ x /* f */ , /* g */ y /* h */ ) /* i */ { /* j */ ; /* k */ ; /* l */ +} /* after */ ; +let g = /* before */ async /* a */ function /* b */ * /* c */ ( /* d */ x /* e */ , /* f */ y /* g */ ) /* h */ { /* i */ ; /* j */ ; /* k */ +} /* after */ ; assert.sameValue(f.toString(), "async /* a */ function /* b */ * /* c */ F /* d */ ( /* e */ x /* f */ , /* g */ y /* h */ ) /* i */ { /* j */ ; /* k */ ; /* l */ }"); assert.sameValue(g.toString(), "async /* a */ function /* b */ * /* c */ ( /* d */ x /* e */ , /* f */ y /* g */ ) /* h */ { /* i */ ; /* j */ ; /* k */ }"); |