void () { doTestByText(""" from typing import LiteralString def expect_literal_string(s: LiteralString) -> None: ... plain_string: str literal_string: LiteralString expect_literal_string(f"hello {literal_string}") expect_literal_string(<warning descr="Expected type 'LiteralString', got 'str' instead">f"hello {plain_string}"</warning>) """); }