Follow up to #267.
This commit is contained in:
Pieter Noordhuis 2023-03-21 16:34:16 +01:00 committed by GitHub
parent 047a189c1e
commit 7dcc0d4b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.LevelInfo, f.Level())
assert.Equal(t, "info", f.String())
}
func TestLogLevelFlagSetValid(t *testing.T) {