diff --git a/test/fixtures/typescript-type-checked.@typescript-eslint#no-unnecessary-type-assertion.fail.ts b/test/fixtures/typescript-type-checked.@typescript-eslint#no-unnecessary-type-assertion.fail.ts index 3ad852cd..59d3805d 100644 --- a/test/fixtures/typescript-type-checked.@typescript-eslint#no-unnecessary-type-assertion.fail.ts +++ b/test/fixtures/typescript-type-checked.@typescript-eslint#no-unnecessary-type-assertion.fail.ts @@ -1,3 +1,2 @@ // A rule that requires type information is effective. -const foo = 3; -const bar = foo!; +const foo = "foo" as const;