summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js')
-rw-r--r--js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js b/js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js
index 8fa5b1ac0f..b1c2120e47 100644
--- a/js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js
+++ b/js/src/tests/test262/built-ins/RegExp/prototype/sticky/name.js
@@ -14,13 +14,11 @@ includes: [propertyHelper.js]
var descriptor = Object.getOwnPropertyDescriptor(RegExp.prototype, 'sticky');
-assert.sameValue(
- descriptor.get.name,
- 'get sticky'
-);
-
-verifyNotEnumerable(descriptor.get, 'name');
-verifyNotWritable(descriptor.get, 'name');
-verifyConfigurable(descriptor.get, 'name');
+verifyProperty(descriptor.get, "name", {
+ value: "get sticky",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);