(t *testing.T)
| 126 | } |
| 127 | |
| 128 | func TestHeaderPrinter_ToLongForTerminal(t *testing.T) { |
| 129 | p := pterm.HeaderPrinter{} |
| 130 | p2 := p.Sprint("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") |
| 131 | |
| 132 | testza.AssertContains(t, p2, "a") |
| 133 | } |
| 134 | |
| 135 | func TestHeaderPrinter_WithMargin(t *testing.T) { |
| 136 | p := pterm.HeaderPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…