(t *testing.T)
| 323 | } |
| 324 | |
| 325 | func TestBoxPrinter_WithInvalidBottomPadding(t *testing.T) { |
| 326 | p := pterm.BoxPrinter{} |
| 327 | p2 := p.WithBottomPadding(-5) |
| 328 | |
| 329 | testza.AssertEqual(t, 0, p2.BottomPadding) |
| 330 | testza.AssertZero(t, p.BottomPadding) |
| 331 | } |
| 332 | |
| 333 | func TestBoxPrinter_WithInvalidLeftPadding(t *testing.T) { |
| 334 | p := pterm.BoxPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…