Skip to content

Conversation

@nodo
Copy link
Collaborator

@nodo nodo commented Apr 4, 2018

In go 1.10 the -coverpkg flag does not load new packages, but allow
users to provide a list of patterns (see
https://golang.org/doc/go1.10#test). For this reason, we need to import
the the package in the fixture.

In go 1.10 the `-coverpkg` flag does not load new packages, but allow
users to provide a list of patterns (see
https://golang.org/doc/go1.10#test). For this reason, we need to import
the package in the fixture.
@nodo nodo force-pushed the go-1.10-coverage-test branch from 01f01f6 to e37dbfe Compare April 4, 2018 15:45
@nodo
Copy link
Collaborator Author

nodo commented Apr 6, 2018

For context, this PR fixes a red test in go 1.10 (see here)

@kirederik kirederik merged commit 468e89e into master Apr 9, 2018
@kirederik kirederik deleted the go-1.10-coverage-test branch April 9, 2018 12:58
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.

4 participants