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