()
| 21 | |
| 22 | |
| 23 | def test_apply_style(): |
| 24 | segments = [Segment("foo"), Segment("bar", Style(bold=True))] |
| 25 | assert Segment.apply_style(segments, None) is segments |
| 26 | assert list(Segment.apply_style(segments, Style(italic=True))) == [ |
| 27 | Segment("foo", Style(italic=True)), |
| 28 | Segment("bar", Style(italic=True, bold=True)), |
| 29 | ] |
| 30 | |
| 31 | |
| 32 | def test_split_lines(): |
nothing calls this directly
no test coverage detected