From 88238010b2b15c638e460719fd8af1dd4dc284a9 Mon Sep 17 00:00:00 2001 From: walker088 Date: Thu, 21 Oct 2021 09:40:09 -0300 Subject: [PATCH] fix: DeepSource, Unused parameter detected in function --- geziyor_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geziyor_test.go b/geziyor_test.go index 5bc21d3..fc19252 100644 --- a/geziyor_test.go +++ b/geziyor_test.go @@ -189,7 +189,7 @@ type PostBody struct { Message string `json:"message"` } -func TestPostJson(t *testing.T) { +func TestPostJson(_ *testing.T) { postBody := &PostBody{ UserName: "Juan Valdez", Message: "Best coffee in town", @@ -209,7 +209,7 @@ func TestPostJson(t *testing.T) { }).Start() } -func TestPostFormUrlEncoded(t *testing.T) { +func TestPostFormUrlEncoded(_ *testing.T) { postForm := url.Values{} postForm.Set("user_name", "Juan Valdez") postForm.Set("message", "Enjoy a good coffee!")