(t *testing.T)
| 119 | } |
| 120 | |
| 121 | func TestHeaderPrinter_WithFullWidthToLongForTerminal(t *testing.T) { |
| 122 | p := pterm.HeaderPrinter{} |
| 123 | p2 := p.WithFullWidth().Sprint("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") |
| 124 | |
| 125 | testza.AssertContains(t, p2, "a") |
| 126 | } |
| 127 | |
| 128 | func TestHeaderPrinter_ToLongForTerminal(t *testing.T) { |
| 129 | p := pterm.HeaderPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…