Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant