Index: test/mjsunit/harmony/proxies-hash.js |
diff --git a/test/mjsunit/harmony/proxies-hash.js b/test/mjsunit/harmony/proxies-hash.js |
index abfc0f5f0e77ee1ea2ccf4b7736614215fd19450..789de35f6d36068ede22416ec8dc22aef9b9b966 100644 |
--- a/test/mjsunit/harmony/proxies-hash.js |
+++ b/test/mjsunit/harmony/proxies-hash.js |
@@ -51,7 +51,7 @@ function TestSet2(construct, fix, create) { |
var p3 = create(handler) |
fix(p3) |
- var s = construct(); |
+ var s = new construct(); |
s.add(p1); |
s.add(p2); |
assertTrue(s.has(p1)); |
@@ -88,7 +88,7 @@ function TestMap2(construct, fix, create) { |
var p3 = create(handler) |
fix(p3) |
- var m = construct(); |
+ var m = new construct(); |
m.set(p1, 123); |
m.set(p2, 321); |
assertTrue(m.has(p1)); |