From 4818ef54deb6ed1df9deabe52b14462f5cba5b77 Mon Sep 17 00:00:00 2001 From: Predrag Rogic Date: Sat, 6 Jan 2024 16:57:15 +0000 Subject: [PATCH] fix TestValidatePorts --- cmd/minikube/cmd/start_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } })