diff options
Diffstat (limited to 'test/built-ins/Function/prototype/toString/GeneratorFunction.js')
-rw-r--r-- | test/built-ins/Function/prototype/toString/GeneratorFunction.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Function/prototype/toString/GeneratorFunction.js b/test/built-ins/Function/prototype/toString/GeneratorFunction.js index 35a5a7a7e..523f1cd2a 100644 --- a/test/built-ins/Function/prototype/toString/GeneratorFunction.js +++ b/test/built-ins/Function/prototype/toString/GeneratorFunction.js @@ -7,7 +7,7 @@ description: Function.prototype.toString on a generator function created with th features: [generators] ---*/ -let GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor; -let g = /* before */ GeneratorFunction("a", " /* a */ b, c /* b */ //", "/* c */ yield yield; /* d */ //") /* after */ ; +let GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor; +let g = /* before */GeneratorFunction("a", " /* a */ b, c /* b */ //", "/* c */ yield yield; /* d */ //")/* after */; assert.sameValue(g.toString(), "function* anonymous(a, /* a */ b, c /* b */ //\n) {\n/* c */ yield yield; /* d */ //\n}"); |