diff --git a/src/class-elements/static-private-method-and-instance-method-brand-check.case b/src/class-elements/static-private-method-and-instance-method-brand-check.case index dc6c698078..2bfd0a65da 100644 --- a/src/class-elements/static-private-method-and-instance-method-brand-check.case +++ b/src/class-elements/static-private-method-and-instance-method-brand-check.case @@ -26,7 +26,7 @@ info: | 1. If O.[[PrivateBrands]] does not contain an entry e such that SameValue(e, P.[[Brand]]) is true, a. Throw a TypeError exception. template: default -features: [class-static-methods-private] +features: [class-static-methods-private, class-methods-private] ---*/ //- elements diff --git a/test/language/expressions/class/elements/static-private-method-and-instance-method-brand-check.js b/test/language/expressions/class/elements/static-private-method-and-instance-method-brand-check.js index 021365bf78..0adbe2bcf6 100644 --- a/test/language/expressions/class/elements/static-private-method-and-instance-method-brand-check.js +++ b/test/language/expressions/class/elements/static-private-method-and-instance-method-brand-check.js @@ -4,7 +4,7 @@ /*--- description: Brand for static private names and instance private names are different (field definitions in a class expression) esid: prod-FieldDefinition -features: [class-static-methods-private, class] +features: [class-static-methods-private, class-methods-private, class] flags: [generated] info: | ClassTail : ClassHeritage { ClassBody } diff --git a/test/language/statements/class/elements/static-private-method-and-instance-method-brand-check.js b/test/language/statements/class/elements/static-private-method-and-instance-method-brand-check.js index 28327366d3..b8ab2038ac 100644 --- a/test/language/statements/class/elements/static-private-method-and-instance-method-brand-check.js +++ b/test/language/statements/class/elements/static-private-method-and-instance-method-brand-check.js @@ -4,7 +4,7 @@ /*--- description: Brand for static private names and instance private names are different (field definitions in a class declaration) esid: prod-FieldDefinition -features: [class-static-methods-private, class] +features: [class-static-methods-private, class-methods-private, class] flags: [generated] info: | ClassTail : ClassHeritage { ClassBody }