(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestPanelPrinter_Render(t *testing.T) { |
| 30 | testPrintContains(t, func(w io.Writer, a any) { |
| 31 | panels := pterm.Panels{ |
| 32 | {{Data: pterm.Sprint(a)}}, |
| 33 | } |
| 34 | p := pterm.PanelPrinter{}.WithPanels(panels) |
| 35 | err := p.Render() |
| 36 | testza.AssertNoError(t, err) |
| 37 | }) |
| 38 | } |
| 39 | |
| 40 | func TestPanelPrinter_RenderMultiplePanels(t *testing.T) { |
| 41 | testPrintContains(t, func(w io.Writer, a any) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…