From a30ef6b27e578a4cf0a674b24f5b52b4c1516c63 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Thu, 12 Feb 2026 12:34:08 +0100 Subject: All: Rename packages that sound useless or clash with std --- internal/test/server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/test') diff --git a/internal/test/server.go b/internal/test/server.go index 2596f29..82dd2f7 100644 --- a/internal/test/server.go +++ b/internal/test/server.go @@ -8,7 +8,7 @@ import ( "net/http" "net/http/httptest" - httpw "codeberg.org/eduVPN/eduvpn-common/internal/http" + "codeberg.org/eduVPN/eduvpn-common/internal/httpwrap" ) // Server wraps a HTTP test server @@ -71,7 +71,7 @@ func NewServerWithHandles(hps []HandlerPath, listener net.Listener) *Server { } // Client returns a test client that trusts the HTTPS certificates -func (srv *Server) Client() (*httpw.Client, error) { +func (srv *Server) Client() (*httpwrap.Client, error) { // Get the certs from the test server certs := x509.NewCertPool() for _, c := range srv.TLS.Certificates { @@ -91,6 +91,6 @@ func (srv *Server) Client() (*httpw.Client, error) { }, } // Override the client such that it only trusts the test server cert - httpC := httpw.NewClient(client) + httpC := httpwrap.NewClient(client) return httpC, nil } -- cgit v1.2.3