| Index: test/mjsunit/harmony/regress/regress-2243.js
|
| diff --git a/test/mjsunit/harmony/regress/regress-2243.js b/test/mjsunit/harmony/regress/regress-2243.js
|
| index 31c2e55fe68a2d4a9cda35b59dc5337f74a36ad9..e2411d241bc599e9edbd7f0b319dd60b47bf879d 100644
|
| --- a/test/mjsunit/harmony/regress/regress-2243.js
|
| +++ b/test/mjsunit/harmony/regress/regress-2243.js
|
| @@ -27,5 +27,5 @@
|
|
|
| // Flags: --harmony-scoping
|
|
|
| -assertThrows("'use strict'; (function f() { f = 123; })", SyntaxError);
|
| -assertThrows("(function f() { 'use strict'; f = 123; })", SyntaxError);
|
| +assertThrows("'use strict'; (function f() { f = 123; })()", TypeError);
|
| +assertThrows("(function f() { 'use strict'; f = 123; })()", TypeError);
|
|
|