-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error during install strechr/testify, undefined: errors.Is #1091
Comments
It looks like you are using a go version lower than 1.13, is that right? Currently testify requires at least 1.13. Please run |
Thanks once i updated the go version it worked fine. |
I updated my go version to 1.13 but my circle ci tests are still failing with the following error can anyone help me with this? |
@NamrataPatel29 your Circle CI is definitely not running go 1.13: https://golang.org/doc/go1.13#errors |
@brackendawson yes it was not running go 1.13 , the issue got resolved when it ran go 1.13. Also i am facing a similar issue whem i am tried updating another dependency (github.com/aws/aws-sdk-go from 1.30.23 to 1.40.10) === Errors does this require updation of go to 1.17 ? Isnt error.Is part of Go 1.13 ? |
This issue should be closed. |
github.com/stretchr/testify/assert
/root/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1704:5: undefined: errors.Is
/root/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1727:6: undefined: errors.Is
/root/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1750:5: undefined: errors.As
/root/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1767:7: undefined: errors.Unwrap
/root/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:1771:7: undefined: errors.Unwrap
note: module requires Go 1.13
I am getting this error after i upgraded to "github.com/go-redis/redis/v8 v8.10.0"
The text was updated successfully, but these errors were encountered: