Skip to content

Commit

Permalink
add test for nil limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ribice committed Jun 24, 2024
1 parent 5cda3f9 commit e2ff00e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ func NewHTTPTransport() *HTTPTransport {
transport := HTTPTransport{
BufferSize: defaultBufferSize,
Timeout: defaultTimeout,
limits: make(ratelimit.Map),
}
return &transport
}
Expand Down
1 change: 1 addition & 0 deletions transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ func TestHTTPTransport(t *testing.T) {
e.EventID = EventID(id)

transport.SendEvent(e)

t.Logf("[CLIENT] {%.4s} event sent", e.EventID)
return id
}
Expand Down

0 comments on commit e2ff00e

Please sign in to comment.