mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-15 11:46:11 +00:00
fix lint failures with 1.31 (#5489)
This commit is contained in:
@@ -22,7 +22,7 @@ func TestIterateKeysWithValues(t *testing.T) {
|
||||
|
||||
// Iterating Keys, checking for matching Value
|
||||
for _, key := range cmap.Keys() {
|
||||
val := strings.Replace(key, "key", "value", -1)
|
||||
val := strings.ReplaceAll(key, "key", "value")
|
||||
assert.Equal(t, val, cmap.Get(key))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user