(t *testing.T)
| 217 | } |
| 218 | |
| 219 | func TestBoxPrinter_WithTitleWithTitleTopCenter(t *testing.T) { |
| 220 | p := pterm.BoxPrinter{} |
| 221 | p2 := p.WithTitleTopCenter().WithTitle("a").Sprint("Lorem Ipsum") |
| 222 | |
| 223 | testza.AssertContains(t, p2, "Lorem Ipsum") |
| 224 | } |
| 225 | |
| 226 | func TestBoxPrinter_WithTitleWithTitleBottomCenter(t *testing.T) { |
| 227 | p := pterm.BoxPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…