diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/test262/built-ins/Math/hypot/name.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Math/hypot/name.js b/js/src/tests/test262/built-ins/Math/hypot/name.js index 46d395ca06..51224f04e0 100644 --- a/js/src/tests/test262/built-ins/Math/hypot/name.js +++ b/js/src/tests/test262/built-ins/Math/hypot/name.js @@ -19,10 +19,11 @@ info: | includes: [propertyHelper.js] ---*/ -assert.sameValue(Math.hypot.name, "hypot"); - -verifyNotEnumerable(Math.hypot, "name"); -verifyNotWritable(Math.hypot, "name"); -verifyConfigurable(Math.hypot, "name"); +verifyProperty(Math.hypot, "name", { + value: "hypot", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |