From 6f50d58d96bc9f7ed91b2215337dfc5a5d2b604c Mon Sep 17 00:00:00 2001 From: violapioggia <2604296771@qq.com> Date: Fri, 16 Feb 2024 16:02:09 +0800 Subject: [PATCH] style: gofumpt --- adaptor/handler_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/adaptor/handler_test.go b/adaptor/handler_test.go index 784f81a..5ee8162 100644 --- a/adaptor/handler_test.go +++ b/adaptor/handler_test.go @@ -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") @@ -399,7 +398,6 @@ func TestForm(t *testing.T) { return } assert.DeepEqual(t, req.FormValue("form_data"), "value") - } hertzHandler := NewHertzHTTPHandler(http.HandlerFunc(handler))