From 50bd6bd54ec4195ed9e09a4a2d69e386bf55b21f Mon Sep 17 00:00:00 2001 From: Alireza Ghasemi Date: Thu, 9 May 2024 09:35:12 +0330 Subject: [PATCH] Fixup --- src/net/http/httptest/server.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/net/http/httptest/server.go b/src/net/http/httptest/server.go index e377496c06..fa54923179 100644 --- a/src/net/http/httptest/server.go +++ b/src/net/http/httptest/server.go @@ -297,8 +297,9 @@ func (s *Server) Certificate() *x509.Certificate { } // Client returns an HTTP client configured for making requests to the server. -// It is a standard http.Client that is configured to trust the server's TLS test certificate and will -// close its idle connections on [Server.Close]. To hit the test server, use the base URL (Server.URL) in requests. +// It is configured to trust the server's TLS test certificate and will +// close its idle connections on [Server.Close]. +// Use Server.URL as the base URL to send requests to the server. func (s *Server) Client() *http.Client { return s.client }