diff --git a/packages/eslint-plugin/tests/rules/class-literal-property-style.test.ts b/packages/eslint-plugin/tests/rules/class-literal-property-style.test.ts index eec52a004d86..9e6519c10db0 100644 --- a/packages/eslint-plugin/tests/rules/class-literal-property-style.test.ts +++ b/packages/eslint-plugin/tests/rules/class-literal-property-style.test.ts @@ -247,7 +247,7 @@ class Mx { class A { private readonly foo: string = 'bar'; constructor(foo: string) { - this.b = new (class { + const bar = new (class { private readonly foo: string = 'baz'; constructor() { this.foo = 'qux';