diff --git a/progress_test.go b/progress_test.go index d5ebaf8..184ee75 100644 --- a/progress_test.go +++ b/progress_test.go @@ -222,12 +222,10 @@ p.UpdateBarPriority(b, 3, lazy) checkOrder := []*mpb.Bar{b, c, a} // updated order - if !refresh { - if lazy { - checkOrder = []*mpb.Bar{c, b, a} // pristine order - } - } else { + if refresh { refreshCh <- time.Now() + } else if lazy { + checkOrder = []*mpb.Bar{c, b, a} // pristine order } go cancel()