Fixed missing test preconditions

This commit is contained in:
Kiril Zvezdarov 2015-04-06 17:31:13 -04:00
parent 59bc322d1a
commit b477d087b3

View file

@ -512,6 +512,7 @@ func TestMarshal(t *testing.T) {
} }
func TestBindPFlags(t *testing.T) { func TestBindPFlags(t *testing.T) {
Reset()
flagSet := pflag.NewFlagSet("test", pflag.ContinueOnError) flagSet := pflag.NewFlagSet("test", pflag.ContinueOnError)
var testValues = map[string]*string{ var testValues = map[string]*string{
@ -568,6 +569,7 @@ func TestBindPFlag(t *testing.T) {
} }
func TestBoundCaseSensitivity(t *testing.T) { func TestBoundCaseSensitivity(t *testing.T) {
initConfigs()
assert.Equal(t, "brown", Get("eyes")) assert.Equal(t, "brown", Get("eyes"))