Simplify and use range over integer.

This commit is contained in:
Joachim Bauch 2025-12-04 11:08:31 +01:00
commit dd01d98553
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -83,7 +83,7 @@ func TestConcurrentStringStringMap(t *testing.T) {
key := "key-" + strconv.Itoa(x)
rnd := newRandomString(32)
for y := 0; y < count; y = y + 1 {
for y := range count {
value := rnd + "-" + strconv.Itoa(y)
m.Set(key, value)
if v, found := m.Get(key); !found {