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

Add go.mod #634

Closed
wants to merge 1 commit into from
Closed

Add go.mod #634

wants to merge 1 commit into from

Conversation

akshayjshah
Copy link

@akshayjshah akshayjshah commented Jul 13, 2018

Now that modules are (mostly) working on tip, it's probably worth adding
a go.mod file to this project. The contents of the file were generated
automatically:

$ go version
go version devel +8a330454dc Fri Jul 13 03:53:00 2018 +0000 linux/amd64

$ go mod -init -module "github.com/stretchr/testify"
go: creating new go.mod: module github.com/stretchr/testify
go: copying requirements from Gopkg.lock

$ go test ./...
ok  	github.com/stretchr/testify	(cached)
mock/mock.go:498: missing ... in args forwarded to printf-like function
mock/mock.go:516: missing ... in args forwarded to printf-like function
ok  	github.com/stretchr/testify/assert	(cached)
?   	github.com/stretchr/testify/http	[no test files]
FAIL	github.com/stretchr/testify/mock [build failed]
ok  	github.com/stretchr/testify/require	(cached)
ok  	github.com/stretchr/testify/suite	(cached)

/cc @DAddYE - I'm not sure how you'd like me to proceed with the test failure on tip.

Now that modules are (mostly) working on tip, it's probably worth adding
a `go.mod` file to this project. The contents of the file were generated
automatically:

```bash
$ go version
go version devel +8a330454dc Fri Jul 13 03:53:00 2018 +0000 linux/amd64

$ go mod -init -module "github.com/stretchr/testify"
go: creating new go.mod: module github.com/stretchr/testify
go: copying requirements from Gopkg.lock

$ go test ./...
ok  	github.com/stretchr/testify	(cached)
mock/mock.go:498: missing ... in args forwarded to printf-like function
mock/mock.go:516: missing ... in args forwarded to printf-like function
ok  	github.com/stretchr/testify/assert	(cached)
?   	github.com/stretchr/testify/http	[no test files]
FAIL	github.com/stretchr/testify/mock [build failed]
ok  	github.com/stretchr/testify/require	(cached)
ok  	github.com/stretchr/testify/suite	(cached)
```
@leighmcculloch
Copy link
Contributor

This is a duplicate of #607.

@akshayjshah
Copy link
Author

Sweet, I totally missed your PR. Sorry!

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

Successfully merging this pull request may close these issues.

None yet

2 participants