diff --git a/logrus_test.go b/logrus_test.go index 72b6ea2..51f09a2 100644 --- a/logrus_test.go +++ b/logrus_test.go @@ -539,7 +539,7 @@ func TestParseLevel(t *testing.T) { assert.Nil(t, err) assert.Equal(t, TraceLevel, l) - l, err = ParseLevel("invalid") + _, err = ParseLevel("invalid") assert.Equal(t, "not a valid logrus Level: \"invalid\"", err.Error()) }