summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Reflect/set/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Reflect/set/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Reflect/set/name.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/Reflect/set/name.js b/js/src/tests/test262/built-ins/Reflect/set/name.js
index 999e652586..26db6f5186 100644
--- a/js/src/tests/test262/built-ins/Reflect/set/name.js
+++ b/js/src/tests/test262/built-ins/Reflect/set/name.js
@@ -13,13 +13,11 @@ includes: [propertyHelper.js]
features: [Reflect, Reflect.set]
---*/
-assert.sameValue(
- Reflect.set.name, 'set',
- 'The value of `Reflect.set.name` is `"set"`'
-);
-
-verifyNotEnumerable(Reflect.set, 'name');
-verifyNotWritable(Reflect.set, 'name');
-verifyConfigurable(Reflect.set, 'name');
+verifyProperty(Reflect.set, "name", {
+ value: "set",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);