refactor: fix code formatting and return flow

This commit is contained in:
yusing
2025-03-01 15:50:50 +08:00
parent 9b2ee628aa
commit f6dc432419
3 changed files with 5 additions and 5 deletions

View File

@@ -234,7 +234,8 @@ func TestOnCorrectness(t *testing.T) {
tests = append(tests, genCorrectnessTestCases("header", func(k, v string) *http.Request {
return &http.Request{
Header: http.Header{k: []string{v}}}
Header: http.Header{k: []string{v}},
}
})...)
tests = append(tests, genCorrectnessTestCases("query", func(k, v string) *http.Request {
return &http.Request{