Swap actual and expected in require.Equal.
This commit is contained in:
parent
d025403144
commit
bfb17611fe
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func TestCache_eviction(t *testing.T) {
|
|||
|
||||
var keys, values []int
|
||||
c.Range(func(key, value int) bool {
|
||||
require.Equal(t, value, keyToValue[key])
|
||||
require.Equal(t, keyToValue[key], value)
|
||||
keys = append(keys, key)
|
||||
values = append(values, value)
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue