void () { doTestNoInjectedText(""" from typing import Annotated MyType = Annotated[str, "f<caret>oo", True] a: MyType """); doTestNoInjectedText(""" from typing import Annotated a: Annotated[int, "f<caret>oo", True] """); doTestInjectedText("from typing import Annotated\n" + "a: Annotated['Forward<caret>Reference', 'foo']", "ForwardReference"); }