Skip to content

Commit

Permalink
Make linter happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
pstibrany committed Jun 13, 2024
1 parent c8dc93b commit 6aec386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpgrpc/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func TestGrpcErrorsHaveCorrectMessage(t *testing.T) {
w.Header().Set(ErrorMessageHeaderKey, testData.errorMessageInHeader)
}
w.WriteHeader(http.StatusInternalServerError)
w.Write([]byte(testData.responseBody))
_, _ = w.Write([]byte(testData.responseBody))
})

s := NewServer(h)
Expand Down Expand Up @@ -403,7 +403,7 @@ func Test(t *testing.T) {
w.Header().Set(ErrorMessageHeaderKey, testData.errorMessageInHeader)
}
w.WriteHeader(http.StatusInternalServerError)
w.Write([]byte(testData.responseBody))
_, _ = w.Write([]byte(testData.responseBody))
})

s := NewServer(h)
Expand Down

0 comments on commit 6aec386

Please sign in to comment.