commit | 8389745919cae02139ddc085a63c00d024269cf2 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Tue May 17 11:12:09 2016 +0100 |
committer | Ben Murdoch <benm@google.com> | Tue May 17 13:06:41 2016 +0100 |
tree | 9b69609147476a7be455308f2a2046ddded6546b | |
parent | 2a659f74200a1d68570107f58fd45dadd9cb6ff6 [diff] [blame] |
Upgrade to 5.0.71.48 Change-Id: I1d03e89e30c95997ef140af4d49a642a9a4ccd59
diff --git a/test/mjsunit/harmony/reflect-construct.js b/test/mjsunit/harmony/reflect-construct.js index f2dfc15..c136957 100644 --- a/test/mjsunit/harmony/reflect-construct.js +++ b/test/mjsunit/harmony/reflect-construct.js
@@ -279,10 +279,7 @@ (function() { function* f() { yield 1; yield 2; } function* g() { yield 3; yield 4; } - var o = Reflect.construct(f, [], g); - assertEquals([1, 2], [...o]); - assertTrue(o.__proto__ === g.prototype); - assertTrue(o.__proto__ !== f.prototype); + assertThrows(()=>Reflect.construct(f, [], g)); })(); (function () {