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 3b480107db..f6d11ca73d 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: | ---*/ -class C { +var C = class { static #$() {} static #_() {} static #\u{6F}() {} @@ -43,7 +43,7 @@ class C { static #await() {} static { - var D = @C.#$ + var C = @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 da2bab233f..4ffc96f4a6 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 D {} + @C.#await class C {} } }