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