1
0
mirror of https://github.com/golang/go synced 2024-11-12 13:10:33 -07:00
go/src/cmd/cover/testdata
Dhananjay Nakrani c82a6307f4 cmd/cover: take default value of total only once.
Defaulting total to 1 for each function, adds up to the
counting error. testing/cover.go already does this once.

Fixes #20515

Change-Id: I0e3f524c2ccb628eb9a8f0a1f81c22365c24cf9a
Reviewed-on: https://go-review.googlesource.com/44337
Run-TryBot: Dhananjay Nakrani <dhananjayn@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-06-02 17:59:12 +00:00
..
main.go
p.go cmd/cover: take default value of total only once. 2017-06-02 17:59:12 +00:00
profile.cov cmd/cover: take default value of total only once. 2017-06-02 17:59:12 +00:00
test.go