diff --git a/instrumentation/net/http/otelhttp/internal/semconv/env_test.go b/instrumentation/net/http/otelhttp/internal/semconv/env_test.go index 01b17080100..9eddb65b720 100644 --- a/instrumentation/net/http/otelhttp/internal/semconv/env_test.go +++ b/instrumentation/net/http/otelhttp/internal/semconv/env_test.go @@ -134,11 +134,3 @@ func NewTestHTTPServer() HTTPServer { httpServer.requestDurationHistogram = &testRecorder[float64]{} return httpServer } - -func NewTestHTTPClient() HTTPClient { - return HTTPClient{ - requestBytesCounter: &testRecorder[int64]{}, - responseBytesCounter: &testRecorder[int64]{}, - latencyMeasure: &testRecorder[float64]{}, - } -}