diff --git a/viper_test.go b/viper_test.go index 49cf4d4..ba5bd16 100644 --- a/viper_test.go +++ b/viper_test.go @@ -598,7 +598,7 @@ func TestBindPFlagsStringSlice(t *testing.T) { Expected []string Value string }{ - {[]string{}, ""}, + {[]string(nil), ""}, {[]string{"jeden"}, "jeden"}, {[]string{"dwa", "trzy"}, "dwa,trzy"}, {[]string{"cztery", "piec , szesc"}, "cztery,\"piec , szesc\""}} {