(t *testing.T)
| 145 | } |
| 146 | |
| 147 | func TestPanelPrinter_WithBoxPrinter(t *testing.T) { |
| 148 | p := pterm.PanelPrinter{} |
| 149 | p2 := p.WithBoxPrinter(pterm.DefaultBox) |
| 150 | |
| 151 | testza.AssertEqual(t, pterm.DefaultBox, p2.BoxPrinter) |
| 152 | testza.AssertZero(t, p.BoxPrinter) |
| 153 | } |
| 154 | |
| 155 | func TestPanelPrinter_WithWriter(t *testing.T) { |
| 156 | p := pterm.PanelPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…