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 26, 2021
1 parent 03a6ad0 commit 1497213
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 1497213

Please sign in to comment.