Skip to content

Commit ba33301

Browse files
authored
chore: Fixed test (#627)
1 parent ada36ad commit ba33301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fixtures/integrations/type-info-tests/no-unnecessary-condition01-output.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"code": "foo == null",
55
"line": 4,
66
"column": 15,
7-
"message": "Unnecessary conditional, comparison is always true. Both sides of the comparison always have a literal type."
7+
"message": "Unnecessary conditional, comparison is always true, since `null == null` is true."
88
},
99
{
1010
"ruleId": "@typescript-eslint/no-unnecessary-condition",
1111
"code": "bar == null",
1212
"line": 8,
1313
"column": 13,
14-
"message": "Unnecessary conditional, comparison is always true. Both sides of the comparison always have a literal type."
14+
"message": "Unnecessary conditional, comparison is always true, since `null == null` is true."
1515
}
1616
]

0 commit comments

Comments
 (0)