summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Set/prototype/add/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Set/prototype/add/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Set/prototype/add/name.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Set/prototype/add/name.js b/js/src/tests/test262/built-ins/Set/prototype/add/name.js
index f8f5441845..ae4e54bbe1 100644
--- a/js/src/tests/test262/built-ins/Set/prototype/add/name.js
+++ b/js/src/tests/test262/built-ins/Set/prototype/add/name.js
@@ -10,10 +10,11 @@ description: >
includes: [propertyHelper.js]
---*/
-assert.sameValue(Set.prototype.add.name, "add", "The value of `Set.prototype.add.name` is `'add'`");
-
-verifyNotEnumerable(Set.prototype.add, "name");
-verifyNotWritable(Set.prototype.add, "name");
-verifyConfigurable(Set.prototype.add, "name");
+verifyProperty(Set.prototype.add, "name", {
+ value: "add",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);