mirror of
https://github.com/tc39/test262.git
synced 2025-07-20 04:24:40 +02:00
Fix WeakMap/WeakSet typo
The test tries to test against WeakSet, but used WeakMap instead.
This commit is contained in:
parent
b1b4177796
commit
9dfb9e14e0
@ -18,10 +18,10 @@ features: [WeakSet]
|
||||
---*/
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
Set.prototype.values.call(new WeakMap());
|
||||
Set.prototype.values.call(new WeakSet());
|
||||
});
|
||||
|
||||
assert.throws(TypeError, function() {
|
||||
var s = new Set();
|
||||
s.values.call(new WeakMap());
|
||||
s.values.call(new WeakSet());
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user