Remove duplicate WeakSet test

This test is duplicated by WeakSet/prototype/add/value-not-object-throw.js

Originally taken from Rick's draft commit for symbols-as-weakmap-keys
tests.
This commit is contained in:
Rick Waldron 2022-09-22 16:56:32 -07:00 committed by Ms2ger
parent 01f73e96ca
commit 145c440069
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
// Copyright (C) 2013 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-weakset.prototype.add
description: >
Symbol may not be used as a WeakSet entry
features: [Symbol, WeakSet]
---*/
var weakset = new WeakSet();
var sym = Symbol();
assert.throws(TypeError, function() {
weakset.add(sym);
});