Test when text exceeds target width.
(self)
| 157 | assert result == "Hello" |
| 158 | |
| 159 | def test_text_exceeds_width(self): |
| 160 | """Test when text exceeds target width.""" |
| 161 | result = pad_to_width("Hello World", 5) |
| 162 | assert result == "Hello World" # No truncation, just return as-is |
| 163 | |
| 164 | def test_invalid_align(self): |
| 165 | """Test invalid alignment value.""" |
nothing calls this directly
no test coverage detected