summaryrefslogtreecommitdiff
path: root/src/dstr-assignment-for-await/obj-rest-to-property.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/dstr-assignment-for-await/obj-rest-to-property.case')
-rw-r--r--src/dstr-assignment-for-await/obj-rest-to-property.case8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dstr-assignment-for-await/obj-rest-to-property.case b/src/dstr-assignment-for-await/obj-rest-to-property.case
index fff09d20e..c71d44a01 100644
--- a/src/dstr-assignment-for-await/obj-rest-to-property.case
+++ b/src/dstr-assignment-for-await/obj-rest-to-property.case
@@ -21,9 +21,11 @@ let src = {};
assert.sameValue(src.y.x, 1);
assert.sameValue(src.y.y, 2);
-verifyEnumerable(src, "y");
-verifyWritable(src, "y");
-verifyConfigurable(src, "y");
+verifyProperty(src, "y", {
+ enumerable: true,
+ writable: true,
+ configurable: true
+});
//- teardown
promise