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