diff --git a/assert/assertions.go b/assert/assertions.go index 466554e5a..4efe1de47 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -2182,9 +2182,6 @@ func unwrapAll(err error) (errs []error) { for _, err := range x.Unwrap() { errs = append(errs, unwrapAll(err)...) } - return - default: - return } return }