diff --git a/progress_test.go b/progress_test.go index c0cf392..d5ebaf8 100644 --- a/progress_test.go +++ b/progress_test.go @@ -234,7 +234,7 @@ bars := (<-shutdown).([]*mpb.Bar) if l := len(bars); l != 3 { - t.Errorf("Expected len of bars: %d, got: %d", 3, l) + t.Fatalf("Expected len of bars: %d, got: %d", 3, l) } p.Wait()