@@ -104,8 +104,8 @@ func Test_Proxy(t *testing.T) {
104104 require .Equal (t , fiber .StatusTeapot , resp .StatusCode )
105105}
106106
107- // go test -run Test_Proxy_Balancer_WithTlsConfig
108- func Test_Proxy_Balancer_WithTlsConfig (t * testing.T ) {
107+ // go test -run Test_Proxy_Balancer_WithTLSConfig
108+ func Test_Proxy_Balancer_WithTLSConfig (t * testing.T ) {
109109 t .Parallel ()
110110
111111 serverTLSConf , _ , err := tlstest .GetTLSConfigs ()
@@ -144,8 +144,8 @@ func Test_Proxy_Balancer_WithTlsConfig(t *testing.T) {
144144 require .Equal (t , "tls balancer" , body )
145145}
146146
147- // go test -run Test_Proxy_Forward_WithTlsConfig_To_Http
148- func Test_Proxy_Forward_WithTlsConfig_To_Http (t * testing.T ) {
147+ // go test -run Test_Proxy_Forward_WithTLSConfig_To_Http
148+ func Test_Proxy_Forward_WithTLSConfig_To_Http (t * testing.T ) {
149149 t .Parallel ()
150150
151151 _ , targetAddr := createProxyTestServer (t , func (c fiber.Ctx ) error {
@@ -203,8 +203,8 @@ func Test_Proxy_Forward(t *testing.T) {
203203 require .Equal (t , "forwarded" , string (b ))
204204}
205205
206- // go test -run Test_Proxy_Forward_WithTlsConfig
207- func Test_Proxy_Forward_WithTlsConfig (t * testing.T ) {
206+ // go test -run Test_Proxy_Forward_WithTLSConfig
207+ func Test_Proxy_Forward_WithTLSConfig (t * testing.T ) {
208208 t .Parallel ()
209209
210210 serverTLSConf , _ , err := tlstest .GetTLSConfigs ()
@@ -225,7 +225,7 @@ func Test_Proxy_Forward_WithTlsConfig(t *testing.T) {
225225 clientTLSConf := & tls.Config {InsecureSkipVerify : true } //nolint:gosec // We're in a test func, so this is fine
226226
227227 // disable certificate verification
228- WithTlsConfig (clientTLSConf )
228+ WithTLSConfig (clientTLSConf )
229229 app .Use (Forward ("https://" + addr + "/tlsfwd" ))
230230
231231 go func () {
0 commit comments