(t *testing.T)
| 84 | } |
| 85 | |
| 86 | func TestWrapText_NoWrapNeeded(t *testing.T) { |
| 87 | short := "Short" |
| 88 | result := wrapText(short, 25) |
| 89 | if result != short { |
| 90 | t.Errorf("Short text should not be wrapped: got '%s', want '%s'", result, short) |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | func TestWrapText_ExactLength(t *testing.T) { |
| 95 | text := "Exactly25CharactersHere!!" // 25 characters |
nothing calls this directly
no test coverage detected