explicitly ignore error in test fmt.Fprint

This commit is contained in:
Dmitry Verkhoturov
2020-03-26 23:04:31 +01:00
parent fa4e779fa0
commit d714e32668
+1 -1
View File
@@ -96,6 +96,6 @@ func testServer(t *testing.T, req, resp string) *httptest.Server {
require.NoError(t, err)
assert.Equal(t, req, string(body))
t.Logf("req: %s", string(body))
fmt.Fprintf(w, resp)
_, _ = fmt.Fprint(w, resp)
}))
}