From ad91a9cf93d137217da4c0a94825f80558482674 Mon Sep 17 00:00:00 2001 From: tdakkota Date: Mon, 10 Jan 2022 09:27:05 +0300 Subject: [PATCH] chore: fix linter issues --- tg_io/download_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg_io/download_test.go b/tg_io/download_test.go index c5b855b..0ce2155 100644 --- a/tg_io/download_test.go +++ b/tg_io/download_test.go @@ -135,7 +135,7 @@ func TestE2E(t *testing.T) { Scheme: "http", Host: ln.Addr().String(), } - req, err := http.NewRequestWithContext(ctx, http.MethodGet, requestURL.String(), nil) + req, err := http.NewRequestWithContext(ctx, http.MethodGet, requestURL.String(), http.NoBody) if err != nil { return err }