Skip to content

Commit

Permalink
refactor: remove unnecessary return
Browse files Browse the repository at this point in the history
  • Loading branch information
g1stavo authored Feb 26, 2021
1 parent 8cde90c commit f0d0443
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,7 @@ func TestConsumer(t *testing.T) {
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer 1234")

if _, err = http.DefaultClient.Do(req); err != nil {
return
}

_, err = http.DefaultClient.Do(req)
return
}

Expand Down

0 comments on commit f0d0443

Please sign in to comment.