mirror of https://github.com/stretchr/testify.git
Remove redundant returns
parent
ca6698b8a1
commit
ccb5e7f656
|
@ -2182,9 +2182,6 @@ func unwrapAll(err error) (errs []error) {
|
||||||
for _, err := range x.Unwrap() {
|
for _, err := range x.Unwrap() {
|
||||||
errs = append(errs, unwrapAll(err)...)
|
errs = append(errs, unwrapAll(err)...)
|
||||||
}
|
}
|
||||||
return
|
|
||||||
default:
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue