Merge pull request #990 from muesli/assign-fixes

Fixed ineffectual assignment in test
This commit is contained in:
Edward Muller 2019-10-12 10:36:50 -07:00 committed by GitHub
commit 9e05426313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}