summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js')
-rw-r--r--js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js b/js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js
index 127e2d0428..c661157d48 100644
--- a/js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js
+++ b/js/src/tests/test262/built-ins/RegExp/prototype/unicode/length.js
@@ -21,10 +21,11 @@ includes: [propertyHelper.js]
var getter = Object.getOwnPropertyDescriptor(RegExp.prototype, 'unicode').get;
-assert.sameValue(getter.length, 0);
-
-verifyNotEnumerable(getter, 'length');
-verifyNotWritable(getter, 'length');
-verifyConfigurable(getter, 'length');
+verifyProperty(getter, "length", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);