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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy