mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Simplify and use range over integer.
This commit is contained in:
parent
57b6b326c0
commit
dd01d98553
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue