summaryrefslogtreecommitdiff
path: root/src/class-fields/static-computed-symbol-names.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/class-fields/static-computed-symbol-names.case')
-rw-r--r--src/class-fields/static-computed-symbol-names.case12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/class-fields/static-computed-symbol-names.case b/src/class-fields/static-computed-symbol-names.case
index be0c75c49..79ec1284c 100644
--- a/src/class-fields/static-computed-symbol-names.case
+++ b/src/class-fields/static-computed-symbol-names.case
@@ -13,7 +13,7 @@ info: |
ClassElementName:
PropertyName
-template: default
+template: productions
includes: [propertyHelper.js]
features: [Symbol, computed-property-names]
---*/
@@ -23,12 +23,12 @@ var x = Symbol();
var y = Symbol();
//- fields
-[x]; [y] = 42
+static [x]; static [y] = 42
//- assertions
assert.sameValue(Object.hasOwnProperty.call(C.prototype, x), false);
-assert.sameValue(Object.hasOwnProperty.call(C, x), false);
+assert.sameValue(Object.hasOwnProperty.call(c, x), false);
-verifyProperty(c, x, {
+verifyProperty(C, x, {
value: undefined,
enumerable: true,
writable: true,
@@ -36,9 +36,9 @@ verifyProperty(c, x, {
});
assert.sameValue(Object.hasOwnProperty.call(C.prototype, y), false);
-assert.sameValue(Object.hasOwnProperty.call(C, y), false);
+assert.sameValue(Object.hasOwnProperty.call(c, y), false);
-verifyProperty(c, y, {
+verifyProperty(C, y, {
value: 42,
enumerable: true,
writable: true,