diff options
Diffstat (limited to 'src/dstr-assignment-for-await/obj-rest-nested-obj.case')
-rw-r--r-- | src/dstr-assignment-for-await/obj-rest-nested-obj.case | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/dstr-assignment-for-await/obj-rest-nested-obj.case b/src/dstr-assignment-for-await/obj-rest-nested-obj.case deleted file mode 100644 index e2b18b84b..000000000 --- a/src/dstr-assignment-for-await/obj-rest-nested-obj.case +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (C) 2017 Caio Lima & the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -desc: > - When DestructuringAssignmentTarget is an object literal, it should be parsed - parsed as a DestructuringAssignmentPattern and evaluated as a destructuring - assignment. -template: default -esid: pending -features: [object-rest] ----*/ - -//- setup -let a, b, c, d, e; -//- elems -{a, b, ...{c, e}} -//- vals -{a: 1, b: 2, c: 3, d: 4, e: 5} -//- body -assert.sameValue(a, 1); -assert.sameValue(b, 2); -assert.sameValue(c, 3); -assert.sameValue(e, 5); -assert.sameValue(d, undefined); - -//- teardown -promise - .then(() => assert.sameValue(iterCount, 1, 'iteration occurred as expected'), $DONE) - .then($DONE, $DONE); |