(t *testing.T)
| 38 | } |
| 39 | |
| 40 | func TestPanelPrinter_RenderMultiplePanels(t *testing.T) { |
| 41 | testPrintContains(t, func(w io.Writer, a any) { |
| 42 | panels := pterm.Panels{ |
| 43 | {{Data: pterm.Sprint("a\nbc\ndef")}, {Data: pterm.Sprint("abcd")}}, |
| 44 | {{Data: pterm.Sprint(a)}}, |
| 45 | } |
| 46 | p := pterm.PanelPrinter{}.WithPanels(panels) |
| 47 | err := p.Render() |
| 48 | testza.AssertNoError(t, err) |
| 49 | }) |
| 50 | } |
| 51 | |
| 52 | func TestPanelPrinter_RenderMultiplePanelsWithBorder(t *testing.T) { |
| 53 | testPrintContains(t, func(w io.Writer, a any) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…