We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5cb914 commit cd321cfCopy full SHA for cd321cf
2 files 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.Sprint(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
core/state_test.go
@@ -9,6 +9,8 @@ import (
9
"github.com/devfeel/dotweb/test"
10
)
11
12
+var GlobalState = NewServerStateInfo()
13
+
14
// function tests
15
16
func Test_AddRequestCount_1(t *testing.T) {
0 commit comments