From 6b4ab7355c15a6935d03ca04bcdce6b77530c1b9 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Thu, 4 Apr 2019 09:10:24 -0700 Subject: add golangci badge, and fix some lint issues found by the tool --- parse_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parse_test.go') diff --git a/parse_test.go b/parse_test.go index b72563c..2e438aa 100644 --- a/parse_test.go +++ b/parse_test.go @@ -458,14 +458,14 @@ func TestHelpFlag(t *testing.T) { func TestPanicOnNonPointer(t *testing.T) { var args struct{} assert.Panics(t, func() { - parse("", args) + _ = parse("", args) }) } func TestPanicOnNonStruct(t *testing.T) { var args string assert.Panics(t, func() { - parse("", &args) + _ = parse("", &args) }) } -- cgit v1.2.3