diff --git a/test/language/expressions/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js b/test/language/expressions/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js index f6d11ca73d9..3b480107db4 100644 --- a/test/language/expressions/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js +++ b/test/language/expressions/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js @@ -32,7 +32,7 @@ info: | ---*/ -var C = class { +class C { static #$() {} static #_() {} static #\u{6F}() {} @@ -43,7 +43,7 @@ var C = class { static #await() {} static { - var C = @C.#$ + var D = @C.#$ @C.#_ @C.#\u{6F} @C.#\u2118 diff --git a/test/language/statements/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js b/test/language/statements/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js index 4ffc96f4a62..da2bab233fc 100644 --- a/test/language/statements/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js +++ b/test/language/statements/class/decorator/syntax/class-valid/decorator-member-expr-private-identifier.js @@ -51,6 +51,6 @@ class C { @C.#ZW_\u200C_NJ @C.#ZW_\u200D_J @C.#yield - @C.#await class C {} + @C.#await class D {} } }