diff options
Diffstat (limited to 'src/class-fields/computed-name-empty-var-new-line-computed-name-empty-function-asi.case')
-rw-r--r-- | src/class-fields/computed-name-empty-var-new-line-computed-name-empty-function-asi.case | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/class-fields/computed-name-empty-var-new-line-computed-name-empty-function-asi.case b/src/class-fields/computed-name-empty-var-new-line-computed-name-empty-function-asi.case deleted file mode 100644 index 93d034fad..000000000 --- a/src/class-fields/computed-name-empty-var-new-line-computed-name-empty-function-asi.case +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2016 the V8 project authors, 2017 Igalia S.L. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -desc: computed name empty var and newline, computed name empty function (ASI) -info: | - 1.1 New Productions - - [...] - - FieldDefinitionList [Yield, Await]: - FieldDefinition [?Yield, ?Await] - FieldDefinitionList [?Yield, ?Await], FieldDefinition [?Yield, ?Await] -template: default -includes: [propertyHelper.js] ----*/ - -//- body - ['a'] - ['b'](){} -//- assertions - assert.sameValue(this.a, undefined); - verifyEnumerable(this, "a"); - verifyWritable(this, "a"); - verifyConfigurable(this, "a"); - - assert.sameValue(typeof Object.getPrototypeOf(this).b, "function"); - verifyNotEnumerable(Object.getPrototypeOf(this), "b"); - verifyConfigurable(Object.getPrototypeOf(this), "b"); |