summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js')
-rw-r--r--js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js b/js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js
index f9a1e9bf87..4ce81b923f 100644
--- a/js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js
+++ b/js/src/tests/test262/built-ins/RegExp/prototype/Symbol.matchAll/name.js
@@ -21,10 +21,11 @@ includes: [propertyHelper.js]
features: [Symbol.matchAll]
---*/
-assert.sameValue(RegExp.prototype[Symbol.matchAll].name, '[Symbol.matchAll]');
-
-verifyNotEnumerable(RegExp.prototype[Symbol.matchAll], 'name');
-verifyNotWritable(RegExp.prototype[Symbol.matchAll], 'name');
-verifyConfigurable(RegExp.prototype[Symbol.matchAll], 'name');
+verifyProperty(RegExp.prototype[Symbol.matchAll], "name", {
+ value: "[Symbol.matchAll]",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);