(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestProgressbarPrinter_Add(t *testing.T) { |
| 14 | proxyToDevNull() |
| 15 | p := pterm.DefaultProgressbar.WithTotal(2000) |
| 16 | p.Add(1337) |
| 17 | testza.AssertEqual(t, 1337, p.Current) |
| 18 | p.Stop() |
| 19 | } |
| 20 | |
| 21 | func TestProgressbarPrinter_Add_With(t *testing.T) { |
| 22 | proxyToDevNull() |
nothing calls this directly
no test coverage detected
searching dependent graphs…