(t *testing.T)
| 88 | } |
| 89 | |
| 90 | func TestPanelPrinter_WithPanels(t *testing.T) { |
| 91 | panels := pterm.Panels{ |
| 92 | { |
| 93 | {Data: "Hello, World!"}, |
| 94 | }, |
| 95 | } |
| 96 | p := pterm.PanelPrinter{} |
| 97 | p2 := p.WithPanels(panels) |
| 98 | |
| 99 | testza.AssertEqual(t, panels, p2.Panels) |
| 100 | testza.AssertZero(t, p.Panels) |
| 101 | } |
| 102 | |
| 103 | func TestPanelPrinter_WithPadding(t *testing.T) { |
| 104 | padding := 1337 |
nothing calls this directly
no test coverage detected
searching dependent graphs…