Skip to content

Commit

Permalink
FailNow test if initial condition is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Aug 3, 2023
1 parent 90ec0a3 commit a0e5e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion progress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func makeUpdateBarPriorityTest(refresh, lazy bool) func(*testing.T) {

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()
Expand Down

0 comments on commit a0e5e23

Please sign in to comment.