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

test: util.SyncMap.Range test sometimes fails #143

Merged
merged 1 commit into from
May 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/util/map_test.go
Original file line number Diff line number Diff line change
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