From 4e61ee7bfc850215efc3533d2430a156f031c762 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Tue, 1 Dec 2020 19:11:13 +0900 Subject: [PATCH] fix: lint warning Signed-off-by: hlts2 --- internal/net/http/json/json_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/net/http/json/json_test.go b/internal/net/http/json/json_test.go index f7dde9bdae..c2e9681871 100644 --- a/internal/net/http/json/json_test.go +++ b/internal/net/http/json/json_test.go @@ -753,7 +753,7 @@ func TestRequest(t *testing.T) { }(), func() test { srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { - w.Write([]byte("\"1\"")) + _, _ = w.Write([]byte("\"1\"")) })) var got string return test{