Skip to content

Commit

Permalink
internal/network/http: fix dropped test errors (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Sep 28, 2023
1 parent bb61442 commit 30adcd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/network/http/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ func TestHTTP_204(t *testing.T) {

// New client
c, err := NewClient(time.Second)
assert.NoError(t, err)
b, err := c.Get(server.URL, nil)
assert.NoError(t, err)
assert.Nil(t, b)
Expand All @@ -163,6 +164,7 @@ func TestHTTP_500(t *testing.T) {

// New client
c, err := NewClient(time.Second)
assert.NoError(t, err)
b, err := c.Get(server.URL, nil)
assert.Error(t, err)
assert.Nil(t, b)
Expand Down

0 comments on commit 30adcd2

Please sign in to comment.