mirror of
https://github.com/spf13/viper.git
synced 2024-12-28 14:21:24 -07:00
Use assert.EqualValues for slice checking
This commit is contained in:
parent
ae103d7e59
commit
06c7c0d9b3
@ -650,7 +650,7 @@ func TestBindPFlagsStringSlice(t *testing.T) {
|
||||
t.Fatalf("%+#v cannot unmarshal: %s", testValue.Value, err)
|
||||
}
|
||||
if changed {
|
||||
assert.Equal(t, testValue.Expected, val.StringSlice)
|
||||
assert.EqualValues(t, testValue.Expected, val.StringSlice)
|
||||
} else {
|
||||
assert.Equal(t, defaultVal, val.StringSlice)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user