(t *testing.T)
| 104 | } |
| 105 | |
| 106 | func TestHeaderPrinter_WithBackgroundStyle(t *testing.T) { |
| 107 | s := pterm.NewStyle(pterm.FgRed, pterm.BgGray, pterm.Bold) |
| 108 | p := pterm.HeaderPrinter{} |
| 109 | p2 := p.WithBackgroundStyle(s) |
| 110 | |
| 111 | testza.AssertEqual(t, s, p2.BackgroundStyle) |
| 112 | } |
| 113 | |
| 114 | func TestHeaderPrinter_WithFullWidth(t *testing.T) { |
| 115 | p := pterm.HeaderPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…