diff options
| author | Alex Flint <[email protected]> | 2019-04-04 09:10:24 -0700 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2019-04-04 09:10:24 -0700 |
| commit | 6b4ab7355c15a6935d03ca04bcdce6b77530c1b9 (patch) | |
| tree | 493b2e771e4ef61893773a7c34640de6adef62ba /parse_test.go | |
| parent | 57836b82be062adc498c947cc923538cf7698b77 (diff) | |
add golangci badge, and fix some lint issues found by the tool
Diffstat (limited to 'parse_test.go')
| -rw-r--r-- | parse_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) }) } |
