Fix failing TestBindPFlagsStringSlice

After mitchelh/mapstructure has been updated, the expected test result needs to be updated to the actual returned result.

Closes: spf13/viper#579.
This commit is contained in:
Dr. Tobias Quathamer 2018-11-15 10:27:52 +01:00 committed by GitHub
parent ae103d7e59
commit 1b236c9599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -617,7 +617,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\""},