go/src/cmd/cover
Tobias Klauser f4e4ec2cd0 cmd/cover: fix off-by-one error in TestCoverHTML
Avoid index out of range if len(goldenLines) == len(outLines) + 1

Change-Id: Ic23a85d2b8dd06a615e35a58331e78abe4ad6703
Reviewed-on: https://go-review.googlesource.com/130396
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-08-22 06:54:03 +00:00
..
testdata cmd/cover: fix sorting of profile segment boundaries, again 2018-06-07 22:47:53 +00:00
cover.go cmd/cover: remove unused global var and the unquote function 2018-08-20 14:10:05 +00:00
cover_test.go cmd/cover: fix off-by-one error in TestCoverHTML 2018-08-22 06:54:03 +00:00
doc.go cmd/cover: preserve compiler directives in floating comments 2017-10-16 23:38:38 +00:00
func.go cmd/cover: invoke go command to find packages 2018-07-10 03:56:55 +00:00
html.go cmd/cover: invoke go command to find packages 2018-07-10 03:56:55 +00:00
profile.go cmd/cover: fix sorting of profile segment boundaries, again 2018-06-07 22:47:53 +00:00