Skip to content

Commit 0df55c1

Browse files
committed
chore: fix lint errors
1 parent 17ac3dc commit 0df55c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloud/integrations/bitbucket/bitbucket_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ func TestClient_GetPullRequestsByCommit_TrailingComma(t *testing.T) {
2424
// Assert that 'fields' query parameter does NOT end with a comma
2525
if strings.HasSuffix(fields, ",") {
2626
w.WriteHeader(http.StatusBadRequest)
27-
w.Write([]byte("Trailing comma detected in fields parameter"))
27+
_, _ = w.Write([]byte("Trailing comma detected in fields parameter"))
2828
return
2929
}
3030

3131
// Return a valid empty response if the request is correct
3232
w.WriteHeader(http.StatusOK)
33-
w.Write([]byte(`{"values": []}`))
33+
_, _ = w.Write([]byte(`{"values": []}`))
3434
}))
3535
defer server.Close()
3636

0 commit comments

Comments
 (0)