]> Cypherpunks repositories - gostls13.git/commit
cmd/go: Document that -cover causes incorrect line numbers
authorSteven Hartland <steven.hartland@multiplay.co.uk>
Mon, 27 Mar 2017 13:28:19 +0000 (13:28 +0000)
committerRob Pike <r@golang.org>
Mon, 22 May 2017 19:31:43 +0000 (19:31 +0000)
commitf6f1daa4b807f1164da67c96dc8b07ee84731b52
tree17a34d771184377a6fe1d3674cc77c75fcea99a2
parentc5e8ec5b6dc63de087d93d96dc06cb3de6842ec4
cmd/go: Document that -cover causes incorrect line numbers

Due to the fact that -cover injects additional code to the original
source, tests run with -cover will often have incorrect line numbers.

Also includes docs for -list regexp missed by ba8ff87

Updates #6329

Change-Id: I87f0618ac31e96071bca61055cc17c0cbdee208a
Reviewed-on: https://go-review.googlesource.com/38640
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/test/test.go