Index: test/mjsunit/es6/symbols.js |
diff --git a/test/mjsunit/es6/symbols.js b/test/mjsunit/es6/symbols.js |
index b9811f509e21b78f99ef386c24f33e25f9a66acd..46c3daba8a177c6dce414b1efe6e1c334e2aa147 100644 |
--- a/test/mjsunit/es6/symbols.js |
+++ b/test/mjsunit/es6/symbols.js |
@@ -245,25 +245,20 @@ TestCall() |
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) |