Index: test/mjsunit/harmony/reflect-construct.js |
diff --git a/test/mjsunit/harmony/reflect-construct.js b/test/mjsunit/harmony/reflect-construct.js |
index f2dfc1536689c5a5f32101c7db9b7e2a65047dce..c136957df084aa0491c6ba78dbc202ec1e20b7ec 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 () { |