aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/cover/cover_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/cover/cover_test.go')
-rw-r--r--pkg/cover/cover_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/cover/cover_test.go b/pkg/cover/cover_test.go
index 169dbf08c..1d179ebd3 100644
--- a/pkg/cover/cover_test.go
+++ b/pkg/cover/cover_test.go
@@ -67,7 +67,7 @@ func TestMergeDiff(t *testing.T) {
func TestPerLineCoverage(t *testing.T) {
const End = backend.LineEnd
// Start line:col - end line:col.
- // nolint
+ // nolint: govet
covered := []backend.Range{
// Just covered.
{1, 2, 1, 10},
@@ -88,7 +88,7 @@ func TestPerLineCoverage(t *testing.T) {
{42, 20, 42, 30},
{42, 10, 42, 25},
}
- // nolint
+ // nolint:govet
uncovered := []backend.Range{
{10, 20, 10, 30},
{11, 0, 11, 20},