Index: test/mjsunit/harmony/private.js |
diff --git a/test/mjsunit/harmony/private.js b/test/mjsunit/harmony/private.js |
index 218094c3d50632fb21f2c97e9403fdde883cd681..c08daf105055cfcc9ac8ea940c4372bf0b8e0803 100644 |
--- a/test/mjsunit/harmony/private.js |
+++ b/test/mjsunit/harmony/private.js |
@@ -196,25 +196,20 @@ TestSet() |
function TestCollections() { |
var set = new Set |
var map = new Map |
- var weakmap = new WeakMap |
for (var i in symbols) { |
set.add(symbols[i]) |
map.set(symbols[i], i) |
- weakmap.set(symbols[i], i) |
} |
assertEquals(symbols.length, set.size) |
assertEquals(symbols.length, map.size) |
for (var i in symbols) { |
assertTrue(set.has(symbols[i])) |
assertTrue(map.has(symbols[i])) |
- assertTrue(weakmap.has(symbols[i])) |
assertEquals(i, map.get(symbols[i])) |
- assertEquals(i, weakmap.get(symbols[i])) |
} |
for (var i in symbols) { |
assertTrue(set.delete(symbols[i])) |
assertTrue(map.delete(symbols[i])) |
- assertTrue(weakmap.delete(symbols[i])) |
} |
assertEquals(0, set.size) |
assertEquals(0, map.size) |