Skip to content
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

cannot find module providing package github.com/stretchr/testify/assert #700

Closed
estahn opened this issue Dec 10, 2018 · 2 comments
Closed

Comments

@estahn
Copy link

estahn commented Dec 10, 2018

I have problems getting testify to work with go mod. Maybe someone has a hint to get that rolling.

Some simple example code: Gist

Steps to reproduce:

git clone https://gist.github.com/810d7cee89c35d9a2b739d93a8249984.git testify-test
cd testify-test
go test

Error message:

go: finding github.com/stretchr/testify/assert latest
# github.com/estahn/testify-test
main_test.go:5:3: unknown import path "github.com/stretchr/testify/assert": cannot find module providing package github.com/stretchr/testify/assert
FAIL	github.com/estahn/testify-test [setup failed]
@estahn
Copy link
Author

estahn commented Dec 17, 2018

Related: #667 #607 #659

@georgelesica-wf
Copy link

We've merged module support here: #607. Feel free to re-open if you still have issues. Note that we haven't tagged yet. That will happen soon, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants