()
| 93 | |
| 94 | |
| 95 | def test_from_markup(): |
| 96 | text = Text.from_markup("Hello, [bold]World![/bold]") |
| 97 | assert str(text) == "Hello, World!" |
| 98 | assert text._spans == [Span(7, 13, "bold")] |
| 99 | |
| 100 | |
| 101 | def test_from_ansi(): |
nothing calls this directly
no test coverage detected