Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
test: util.SyncMap.Range test sometimes fails (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed May 11, 2022
1 parent 751e666 commit c2b969f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/util/map_test.go
Expand Up @@ -79,9 +79,9 @@ func TestSyncMap_Range(t *testing.T) {
s.Range(func(k string, v int) bool {
if k == "a" {
vv = v
return true
return false
}
return false
return true
})
assert.Equal(t, 1, vv)
}
Expand Down

0 comments on commit c2b969f

Please sign in to comment.