| Index: test/mjsunit/harmony/arrow-functions.js
|
| diff --git a/test/mjsunit/harmony/arrow-functions.js b/test/mjsunit/harmony/arrow-functions.js
|
| index 22b1c94f7ffbd40af7de894b9c3645581c1682c3..0ffa9369919aa8b83bd88ebf6cbb57eea373eea3 100644
|
| --- a/test/mjsunit/harmony/arrow-functions.js
|
| +++ b/test/mjsunit/harmony/arrow-functions.js
|
| @@ -8,7 +8,8 @@
|
| // "new" operator on them.
|
| assertEquals("function", typeof (() => {}));
|
| assertEquals(Function.prototype, Object.getPrototypeOf(() => {}));
|
| -assertThrows("new (() => {})", TypeError);
|
| +assertThrows(function() { new (() => {}); }, TypeError);
|
| +assertFalse("prototype" in (() => {}));
|
|
|
| // Check the different syntax variations
|
| assertEquals(1, (() => 1)());
|
|
|