diff --git a/progress_test.go b/progress_test.go index 0440271..e7c403a 100644 --- a/progress_test.go +++ b/progress_test.go @@ -149,7 +149,7 @@ } } time.Sleep((time.Duration(rng.Intn(10)+1) * (50 * time.Millisecond)) / 2) - bar.Increment() + bar.IncrInt64(rand.Int63n(5) + 1) bar.DecoratorEwmaUpdate(time.Since(start)) } }()