mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Fixed missing test preconditions
This commit is contained in:
parent
59bc322d1a
commit
b477d087b3
1 changed files with 2 additions and 0 deletions
|
@ -512,6 +512,7 @@ func TestMarshal(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestBindPFlags(t *testing.T) {
|
||||
Reset()
|
||||
flagSet := pflag.NewFlagSet("test", pflag.ContinueOnError)
|
||||
|
||||
var testValues = map[string]*string{
|
||||
|
@ -568,6 +569,7 @@ func TestBindPFlag(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestBoundCaseSensitivity(t *testing.T) {
|
||||
initConfigs()
|
||||
|
||||
assert.Equal(t, "brown", Get("eyes"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue