We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96cff54 commit 7ea826dCopy full SHA for 7ea826d
1 file changed
core/concurrenceMap_test.go
@@ -72,7 +72,7 @@ func TestItemContext_Current(t *testing.T) {
72
func BenchmarkItemContext_Set_1(b *testing.B) {
73
var num uint64 = 1
74
for i := 0; i < b.N; i++ {
75
- ic.Set(string(num), num)
+ ic.Set(fmt.Sprintf("%d", num), num)
76
}
77
78
@@ -81,7 +81,7 @@ func BenchmarkItemContext_Set_Parallel(b *testing.B) {
81
b.RunParallel(func(pb *testing.PB) {
82
83
for pb.Next() {
84
85
86
})
87
0 commit comments