mirror of https://github.com/databricks/cli.git
fix unit test
This commit is contained in:
parent
fab3c805fb
commit
f5d3db9c3c
|
@ -10,8 +10,8 @@ import (
|
||||||
|
|
||||||
func TestLogLevelFlagDefault(t *testing.T) {
|
func TestLogLevelFlagDefault(t *testing.T) {
|
||||||
f := NewLogLevelFlag()
|
f := NewLogLevelFlag()
|
||||||
assert.Equal(t, log.LevelDisabled, f.Level())
|
assert.Equal(t, log.LevelWarn, f.Level())
|
||||||
assert.Equal(t, "disabled", f.String())
|
assert.Equal(t, "warn", f.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestLogLevelFlagSetValid(t *testing.T) {
|
func TestLogLevelFlagSetValid(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue