We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952ce5b commit 1a967a8Copy full SHA for 1a967a8
1 file changed
internal/client/client_test.go
@@ -201,7 +201,7 @@ func TestUnit_NegotiateVersion(t *testing.T) {
201
case "/api/api_version":
202
w.Header().Set("Content-Type", "application/json")
203
w.WriteHeader(http.StatusOK)
204
- w.Write([]byte(`{"versions":["2.12","2.22"]}`))
+ _, _ = w.Write([]byte(`{"versions":["2.12","2.22"]}`))
205
default:
206
w.WriteHeader(http.StatusNotFound)
207
}
@@ -230,7 +230,7 @@ func TestUnit_NegotiateVersion_Missing(t *testing.T) {
230
231
232
233
- w.Write([]byte(`{"versions":["2.12","2.15"]}`))
+ _, _ = w.Write([]byte(`{"versions":["2.12","2.15"]}`))
234
235
236
0 commit comments