| Index: test/mjsunit/harmony/generators-parsing.js
|
| diff --git a/test/mjsunit/harmony/generators-parsing.js b/test/mjsunit/harmony/generators-parsing.js
|
| index 0e5494df1bc8f1d233cf0099327de5161e7ae86c..49a44ba32dceb12ac75569bd22c348d28cb045db 100644
|
| --- a/test/mjsunit/harmony/generators-parsing.js
|
| +++ b/test/mjsunit/harmony/generators-parsing.js
|
| @@ -74,7 +74,7 @@ function* g() { yield ({ get yield() { return 1; }}) }
|
| // mode or in generators.
|
| function f() { yield: 1 }
|
| assertThrows("function f() { \"use strict\"; yield: 1 }", SyntaxError)
|
| -assertThrows("function f*() { yield: 1 }", SyntaxError)
|
| +assertThrows("function* g() { yield: 1 }", SyntaxError)
|
|
|
| // Yield is only a keyword in the body of the generator, not in nested
|
| // functions.
|
|
|