From 1e34f3f20a71a4375ba64faad43f21171e3829cd Mon Sep 17 00:00:00 2001 From: Samuel Rigaud <46346622+s-rigaud@users.noreply.github.com> Date: Wed, 3 Sep 2025 18:24:17 -0400 Subject: [PATCH] [ty] Fix small test typo (#20220) Small typo in the comment of a test Co-authored-by: Samuel Rigaud --- .../resources/mdtest/narrow/conditionals/in.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/resources/mdtest/narrow/conditionals/in.md b/crates/ty_python_semantic/resources/mdtest/narrow/conditionals/in.md index 6090c9c4ac..3b44f9ffd8 100644 --- a/crates/ty_python_semantic/resources/mdtest/narrow/conditionals/in.md +++ b/crates/ty_python_semantic/resources/mdtest/narrow/conditionals/in.md @@ -115,7 +115,7 @@ from typing import Literal def test(x: Literal["a", "b", "c"] | None | int = None): if x not in ("a", "c"): # int is included because custom __eq__ methods could make - # an int equal to "a" or "b", so we can't eliminate it + # an int equal to "a" or "c", so we can't eliminate it reveal_type(x) # revealed: Literal["b"] | None | int else: reveal_type(x) # revealed: Literal["a", "c"] | int