fix: #2700, timeout not enough for writing responses (#2738)

* fix: #2700, timeout not enough for writing responses

* fix: test fail

* chore: add comments
This commit is contained in:
Kevin Wan
2023-01-02 13:51:15 +08:00
committed by GitHub
parent 3e9d0161bc
commit dd294e8cd6
4 changed files with 27 additions and 14 deletions

View File

@@ -92,19 +92,19 @@ func TestString_Camel2Snake(t *testing.T) {
}{
{
input: "goZero",
want: "go_zero",
want: "go_zero",
},
{
input: "Gozero",
want: "gozero",
want: "gozero",
},
{
input: "GoZero",
want: "go_zero",
want: "go_zero",
},
{
input: "Go_Zero",
want: "go__zero",
want: "go__zero",
},
}
for _, c := range cases {