axw/gocov

gocov failed when trying on file that has a formatting directive

liyaka opened this issue · 0 comments

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)