logrus: remove test for dbg alias in ParseLevel.

This commit is contained in:
Antoine Grondin 2014-09-24 23:23:01 -04:00
parent 45d5602d9c
commit 3737b3267e
1 changed files with 0 additions and 4 deletions

View File

@ -242,10 +242,6 @@ func TestParseLevel(t *testing.T) {
assert.Nil(t, err) assert.Nil(t, err)
assert.Equal(t, DebugLevel, l) assert.Equal(t, DebugLevel, l)
l, err = ParseLevel("dbg")
assert.Nil(t, err)
assert.Equal(t, DebugLevel, l)
l, err = ParseLevel("invalid") l, err = ParseLevel("invalid")
assert.Equal(t, "not a valid logrus Level: \"invalid\"", err.Error()) assert.Equal(t, "not a valid logrus Level: \"invalid\"", err.Error())
} }