aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-08-21 14:27:07 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2018-08-22 06:54:03 +0000
commitf4e4ec2cd09c2f9d821f3cb6f47edd7c41a90b25 (patch)
tree6e7a68416f1c007d6621c58aee5a7b595535eea4 /src/encoding
parenta0a7e9fc0c9139053c9ae02b85f03e78fb9cd550 (diff)
downloadgo-f4e4ec2cd09c2f9d821f3cb6f47edd7c41a90b25.tar.xz
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>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions