Skip to content

Commit

Permalink
Merge pull request #9 from shengyanli1982/dev
Browse files Browse the repository at this point in the history
Fix test case errors
  • Loading branch information
shengyanli1982 authored Apr 10, 2024
2 parents b9ddc40 + 535e398 commit 46858da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breaker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func TestCircuitBreaker_ParallelInFailure(t *testing.T) {
go func() {
defer wg.Done()
err := breaker.DoWithFallbackAcceptable(fn, fallback, acceptable)
assert.ErrorIs(t, err, fbError, "Unexpected error")
assert.Contains(t, errs, err, "Unexpected error")
}()
}
wg.Wait()
Expand Down

0 comments on commit 46858da

Please sign in to comment.