From 9234df0df4bc09d95ef81a3079c52c6d1c486147 Mon Sep 17 00:00:00 2001 From: Stephen L <36011612+steuhs@users.noreply.github.com> Date: Fri, 23 Feb 2018 10:57:30 -0800 Subject: [PATCH 1/3] missing discription for CoverBlock struct fill in the missing discription for CoverBlock struct --- src/testing/cover.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/testing/cover.go b/src/testing/cover.go index a4ce37f7c2dfb8..14d90bfc967773 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 From 8f165e3b5dc976502d12e0c3947f0b8b35898482 Mon Sep 17 00:00:00 2001 From: Stephen L <36011612+steuhs@users.noreply.github.com> Date: Mon, 11 Jun 2018 15:09:33 -0700 Subject: [PATCH 2/3] Update cover.go --- src/testing/cover.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testing/cover.go b/src/testing/cover.go index 14d90bfc967773..9be1216b27f5b1 100644 --- a/src/testing/cover.go +++ b/src/testing/cover.go @@ -17,7 +17,7 @@ import ( // It is not covered (yet) by the Go 1 compatibility guidelines. type CoverBlock struct { Line0 uint32 // line number for block start - Col0 uint16 // column 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 From f5b9e1d49d1c00f59ce4d3684915e5e93ec0297a Mon Sep 17 00:00:00 2001 From: Stephen L <36011612+steuhs@users.noreply.github.com> Date: Mon, 11 Jun 2018 15:09:55 -0700 Subject: [PATCH 3/3] Update cover.go --- src/testing/cover.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testing/cover.go b/src/testing/cover.go index 9be1216b27f5b1..be7d9e2cc3d4f6 100644 --- a/src/testing/cover.go +++ b/src/testing/cover.go @@ -19,7 +19,7 @@ type CoverBlock struct { 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 + Col1 uint16 // column number for block end Stmts uint16 // number of statements included in this block }