Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mapogolions committed Dec 30, 2024
1 parent 182b736 commit 5c49d9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions transport/http_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/pkg/errors"
)

func TestDefaultHttpClientTransport(t *testing.T) {
func TestHttpClientTransport(t *testing.T) {
// arrange
l, c, err := echoHttpClient("127.0.0.1:")
l, c, err := echoHttpTransportClient("127.0.0.1:")
if err != nil {
t.Error(err)
}
Expand Down Expand Up @@ -49,7 +49,7 @@ func TestDefaultHttpClientTransport(t *testing.T) {
}
}

func echoHttpClient(addr string) (*httpTransportListener, *httpTransportClient, error) {
func echoHttpTransportClient(addr string) (*httpTransportListener, *httpTransportClient, error) {
tr := NewHTTPTransport()
l, err := tr.Listen(addr)
if err != nil {
Expand Down

0 comments on commit 5c49d9f

Please sign in to comment.