mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Use assert.EqualValues for slice checking
This commit is contained in:
parent
ae103d7e59
commit
06c7c0d9b3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue