diff --git a/cmd/minikube/cmd/start_test.go b/cmd/minikube/cmd/start_test.go index a5ad32a6f2b0..21286337f450 100644 --- a/cmd/minikube/cmd/start_test.go +++ b/cmd/minikube/cmd/start_test.go @@ -737,7 +737,7 @@ func TestValidatePorts(t *testing.T) { if got != nil { gotError = got.Error() } - if gotError != test.errorMsg { + if !strings.EqualFold(gotError, test.errorMsg) { t.Errorf("validatePorts(ports=%v): got %v, expected %v", test.ports, got, test.errorMsg) } })