From 49bdf702e9e08aeac13e17cbe24d1ad467801c4b Mon Sep 17 00:00:00 2001 From: John Ewart Date: Tue, 29 Nov 2022 13:51:56 -0800 Subject: [PATCH] gofumpt'd Signed-off-by: John Ewart --- bindings/http/http_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/bindings/http/http_test.go b/bindings/http/http_test.go index 55e6ec800..4ea8d959f 100644 --- a/bindings/http/http_test.go +++ b/bindings/http/http_test.go @@ -56,7 +56,6 @@ type TestCase struct { } func (tc TestCase) ToInvokeRequest() bindings.InvokeRequest { - requestMetadata := tc.metadata if requestMetadata == nil { @@ -110,7 +109,6 @@ func NewHttpHandler() *HttpHandler { } func InitBinding(s *httptest.Server, extraProps map[string]string) (bindings.OutputBinding, error) { - m := bindings.Metadata{Base: metadata.Base{ Properties: map[string]string{ "url": s.URL, @@ -289,7 +287,6 @@ func TestDefaultBehavior(t *testing.T) { } func TestNon2XXErrorsSuppressed(t *testing.T) { - handler := NewHttpHandler() s := httptest.NewServer(handler) defer s.Close()