()
| 447 | |
| 448 | |
| 449 | def test_right_crop(): |
| 450 | text = Text() |
| 451 | text.append("foobar", "red") |
| 452 | text.right_crop(3) |
| 453 | assert str(text) == "foo" |
| 454 | assert text._spans == [Span(0, 3, "red")] |
| 455 | |
| 456 | |
| 457 | def test_wrap_3(): |
nothing calls this directly
no test coverage detected