You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
When the go test command, with the -coverprofile flag, needs to compile a source file, it reports errors using an incorrect line number.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.6 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
When the
go test
command, with the-coverprofile
flag, needs to compile a source file, it reports errors using an incorrect line number.The problem can be reproduced running
$go test -coverprofile=/tmp/out
with this source file:
https://play.golang.org/p/WAB6gv-0HC
and test file:
https://play.golang.org/p/LCkNJTTOQ1
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: