diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/find/length.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/find/length.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/find/length.js b/js/src/tests/test262/built-ins/Array/prototype/find/length.js index 2522319483..a9ca424385 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/find/length.js +++ b/js/src/tests/test262/built-ins/Array/prototype/find/length.js @@ -8,13 +8,11 @@ info: | includes: [propertyHelper.js] ---*/ -assert.sameValue( - Array.prototype.find.length, 1, - 'The value of `Array.prototype.find.length` is `1`' -); - -verifyNotEnumerable(Array.prototype.find, 'length'); -verifyNotWritable(Array.prototype.find, 'length'); -verifyConfigurable(Array.prototype.find, 'length'); +verifyProperty(Array.prototype.find, "length", { + value: 1, + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |