diff --git a/pkg/minikube/service/service_test.go b/pkg/minikube/service/service_test.go index 473856c12f..7268e49eaa 100644 --- a/pkg/minikube/service/service_test.go +++ b/pkg/minikube/service/service_test.go @@ -258,30 +258,30 @@ func TestOptionallyHttpsFormattedUrlString(t *testing.T) { expectedIsHttpSchemedURL bool }{ { - description: "no https for http schemed with no https option", - bareUrlString: "http://192.168.99.100:30563", - https: false, + description: "no https for http schemed with no https option", + bareUrlString: "http://192.168.99.100:30563", + https: false, expectedHttpsFormattedUrlString: "http://192.168.99.100:30563", expectedIsHttpSchemedURL: true, }, { - description: "no https for non-http schemed with no https option", - bareUrlString: "xyz.http.myservice:30563", - https: false, + description: "no https for non-http schemed with no https option", + bareUrlString: "xyz.http.myservice:30563", + https: false, expectedHttpsFormattedUrlString: "xyz.http.myservice:30563", expectedIsHttpSchemedURL: false, }, { - description: "https for http schemed with https option", - bareUrlString: "http://192.168.99.100:30563", - https: true, + description: "https for http schemed with https option", + bareUrlString: "http://192.168.99.100:30563", + https: true, expectedHttpsFormattedUrlString: "https://192.168.99.100:30563", expectedIsHttpSchemedURL: true, }, { - description: "no https for non-http schemed with https option and http substring", - bareUrlString: "xyz.http.myservice:30563", - https: true, + description: "no https for non-http schemed with https option and http substring", + bareUrlString: "xyz.http.myservice:30563", + https: true, expectedHttpsFormattedUrlString: "xyz.http.myservice:30563", expectedIsHttpSchemedURL: false, },