We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ac3dc commit 0df55c1Copy full SHA for 0df55c1
cloud/integrations/bitbucket/bitbucket_test.go
@@ -24,13 +24,13 @@ func TestClient_GetPullRequestsByCommit_TrailingComma(t *testing.T) {
24
// Assert that 'fields' query parameter does NOT end with a comma
25
if strings.HasSuffix(fields, ",") {
26
w.WriteHeader(http.StatusBadRequest)
27
- w.Write([]byte("Trailing comma detected in fields parameter"))
+ _, _ = w.Write([]byte("Trailing comma detected in fields parameter"))
28
return
29
}
30
31
// Return a valid empty response if the request is correct
32
w.WriteHeader(http.StatusOK)
33
- w.Write([]byte(`{"values": []}`))
+ _, _ = w.Write([]byte(`{"values": []}`))
34
}))
35
defer server.Close()
36
0 commit comments