Update cache_test.go
This commit is contained in:
parent
1c5cd2e0d2
commit
8b39f7d901
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ func BenchmarkCache_Set(b *testing.B) {
|
|||
b.ResetTimer()
|
||||
b.ReportAllocs()
|
||||
for i := 0; i < b.N; i++ {
|
||||
c.Set(i % tc.cap, i)
|
||||
c.Set(i%tc.cap, i)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue