From c58c1f6cfa14db412f056a9c10594d6e46116257 Mon Sep 17 00:00:00 2001 From: mapogolions Date: Mon, 30 Dec 2024 14:31:30 +0500 Subject: [PATCH] refactoring --- transport/http_client_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transport/http_client_test.go b/transport/http_client_test.go index c7db9ea7cc..2aab046c3b 100644 --- a/transport/http_client_test.go +++ b/transport/http_client_test.go @@ -7,9 +7,9 @@ import ( "github.com/pkg/errors" ) -func TestDefaultHttpClientTransport(t *testing.T) { +func TestHttpTransportClient(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) } @@ -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 {