test(logger): fix unit tests

This commit is contained in:
Sumanth Chinthagunta 2020-02-11 12:30:45 -08:00 committed by Vasiliy Tolstov
parent 858a957c01
commit a889ca2430

View File

@ -57,6 +57,8 @@ func TestWithLevelFieldName(t *testing.T) {
l := NewLogger(WithLevelFieldName("severity"))
l.Logf(logger.InfoLevel, "testing: %s", "WithLevelFieldName")
// reset `LevelFieldName` to make other tests pass.
NewLogger(WithLevelFieldName("level"))
}
func TestWithFields(t *testing.T) {