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

gocov failed when trying on file that has a formatting directive #89

Open
liyaka opened this issue May 10, 2021 · 0 comments
Open

gocov failed when trying on file that has a formatting directive #89

liyaka opened this issue May 10, 2021 · 0 comments

Comments

@liyaka
Copy link

liyaka commented May 10, 2021

Running the command:
gocov test /go/src/github.com/xxx/fff/xx-controller/... | gocov-xml > /reports/coverage.xml
it fails with:
# github.com/xxx/fff/xx-controller/router #11 12.45 xx-controller/router/router.go:168: Info call has possible formatting directive %#v #11 12.48 error: exit status 2 #11 12.48 panic: EOF

The code is log.Info("NoRoute claims: %#v\n", claims)

@liyaka liyaka changed the title Support for full project tree gocov failed when trying on file that has a formatting directive May 10, 2021
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

1 participant