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