()
| 890 | |
| 891 | |
| 892 | def test_get_style_at_offset(): |
| 893 | console = Console() |
| 894 | text = Text.from_markup("Hello [b]World[/b]") |
| 895 | assert text.get_style_at_offset(console, 0) == Style() |
| 896 | assert text.get_style_at_offset(console, 6) == Style(bold=True) |
| 897 | |
| 898 | |
| 899 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected