Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kolkov committed Apr 27, 2021
1 parent 2d2cb9d commit 0c84b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions senders/webhook/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ func TestSender_SendEvents(t *testing.T) {
status, err := testRequestURL(r)
if err != nil {
w.WriteHeader(status)
w.Write([]byte(err.Error())) //nolint
_, _ = w.Write([]byte(err.Error())) //nolint
}
status, err = testRequestHeaders(r)
if err != nil {
w.WriteHeader(status)
w.Write([]byte(err.Error())) //nolint
_, _ = w.Write([]byte(err.Error())) //nolint
}
status, err = testRequestBody(r)
if err != nil {
w.Write([]byte(err.Error())) //nolint
_, _ = w.Write([]byte(err.Error())) //nolint
w.WriteHeader(status)
}
w.WriteHeader(status)
Expand Down

0 comments on commit 0c84b12

Please sign in to comment.