Skip to content

Commit

Permalink
style: gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
ViolaPioggia committed Feb 16, 2024
1 parent e3511ec commit 6f50d58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions adaptor/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ func TestCookies(t *testing.T) {
opt.Addr = "127.0.0.1:10027"
engine := route.NewEngine(opt)
handler := func(resp http.ResponseWriter, req *http.Request) {

c, err := req.Cookie("myCookie1")
assert.Nil(t, err)
assert.DeepEqual(t, c.Value, "cookieValue1")
Expand Down Expand Up @@ -399,7 +398,6 @@ func TestForm(t *testing.T) {
return
}
assert.DeepEqual(t, req.FormValue("form_data"), "value")

}

hertzHandler := NewHertzHTTPHandler(http.HandlerFunc(handler))
Expand Down

0 comments on commit 6f50d58

Please sign in to comment.