[red-knot] Migrate bool/str/repr unit tests to Markdown tests (#15534)

## Summary

Part of #15397.

## Test Plan

Markdown tests.
This commit is contained in:
InSync
2025-01-17 02:21:56 +07:00
committed by GitHub
parent e2da33a45c
commit 2e6729d900
6 changed files with 104 additions and 65 deletions

View File

@@ -100,7 +100,7 @@ def _(flag: bool):
foo_3: LiteralString = "foo" * 1_000_000_000
bar_3: str = foo_2 # fine
baz_1: str = str()
baz_1: str = repr(object())
qux_1: LiteralString = baz_1 # error: [invalid-assignment]
baz_2: LiteralString = "baz" * 1_000_000_000