mirror of https://github.com/tc39/test262.git
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() {
|
assert.throws(TypeError, function() {
|
||||||
Set.prototype.values.call(new WeakMap());
|
Set.prototype.values.call(new WeakSet());
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.throws(TypeError, function() {
|
assert.throws(TypeError, function() {
|
||||||
var s = new Set();
|
var s = new Set();
|
||||||
s.values.call(new WeakMap());
|
s.values.call(new WeakSet());
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue