aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorStephen L <36011612+steuhs@users.noreply.github.com>2018-06-29 16:36:04 +0000
committerAndrew Bonventre <andybons@golang.org>2018-06-29 16:53:23 +0000
commit57da8dd459e705888c4c49a487df5f6d58eb6877 (patch)
tree8b5c907f30a55bcab68ae0f43d9e8e94e8050b0d /src/testing
parent1a27f048ad25f151d2a17ce7f2d73d0d2dbe94cf (diff)
downloadgo-57da8dd459e705888c4c49a487df5f6d58eb6877.tar.xz
src/testing/cover: document the CoverBlock struct fields
Fill in the missing descriptions for the CoverBlock struct fields Change-Id: I9257881a19b01e5cfe61cf19a91375b6d7cc68ef GitHub-Last-Rev: f5b9e1d49d1c00f59ce4d3684915e5e93ec0297a GitHub-Pull-Request: golang/go#24079 Reviewed-on: https://go-review.googlesource.com/96756 Reviewed-by: Andrew Bonventre <andybons@golang.org> Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/cover.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testing/cover.go b/src/testing/cover.go
index a4ce37f7c2..be7d9e2cc3 100644
--- a/src/testing/cover.go
+++ b/src/testing/cover.go
@@ -16,11 +16,11 @@ import (
// NOTE: This struct is internal to the testing infrastructure and may change.
// It is not covered (yet) by the Go 1 compatibility guidelines.
type CoverBlock struct {
- Line0 uint32
- Col0 uint16
- Line1 uint32
- Col1 uint16
- Stmts uint16
+ Line0 uint32 // line number for block start
+ Col0 uint16 // column number for block start
+ Line1 uint32 // line number for block end
+ Col1 uint16 // column number for block end
+ Stmts uint16 // number of statements included in this block
}
var cover Cover