fix unit test

This commit is contained in:
Denis Bilenko 2025-01-24 17:35:50 +01:00
parent fab3c805fb
commit f5d3db9c3c
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ import (
func TestLogLevelFlagDefault(t *testing.T) {
f := NewLogLevelFlag()
assert.Equal(t, log.LevelDisabled, f.Level())
assert.Equal(t, "disabled", f.String())
assert.Equal(t, log.LevelWarn, f.Level())
assert.Equal(t, "warn", f.String())
}
func TestLogLevelFlagSetValid(t *testing.T) {