(t *testing.T)
| 191 | } |
| 192 | |
| 193 | func TestProgressbarPrinter_WithTotal(t *testing.T) { |
| 194 | p := pterm.ProgressbarPrinter{} |
| 195 | p2 := p.WithTotal(1337) |
| 196 | |
| 197 | testza.AssertEqual(t, 1337, p2.Total) |
| 198 | } |
| 199 | |
| 200 | func TestProgressbarPrinter_WithMaxWidth(t *testing.T) { |
| 201 | p := pterm.ProgressbarPrinter{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…