Skip to content

Commit 50bd6bd

Browse files
authored
Fixup
1 parent 09f2aef commit 50bd6bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/net/http/httptest/server.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,9 @@ func (s *Server) Certificate() *x509.Certificate {
297297
}
298298

299299
// Client returns an HTTP client configured for making requests to the server.
300-
// It is a standard http.Client that is configured to trust the server's TLS test certificate and will
301-
// close its idle connections on [Server.Close]. To hit the test server, use the base URL (Server.URL) in requests.
300+
// It is configured to trust the server's TLS test certificate and will
301+
// close its idle connections on [Server.Close].
302+
// Use Server.URL as the base URL to send requests to the server.
302303
func (s *Server) Client() *http.Client {
303304
return s.client
304305
}

0 commit comments

Comments
 (0)