diff --git a/pkg/handlers/aws/mutation/region/inject_test.go b/pkg/handlers/aws/mutation/region/inject_test.go index b31b18e7e..d38da4eda 100644 --- a/pkg/handlers/aws/mutation/region/inject_test.go +++ b/pkg/handlers/aws/mutation/region/inject_test.go @@ -8,7 +8,6 @@ import ( . "github.com/onsi/ginkgo/v2" "github.com/onsi/gomega" - . "github.com/onsi/gomega" runtimehooksv1 "sigs.k8s.io/cluster-api/exp/runtime/hooks/api/v1alpha1" "github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/api/v1alpha1" @@ -19,7 +18,7 @@ import ( ) func TestRegionPatch(t *testing.T) { - RegisterFailHandler(Fail) + gomega.RegisterFailHandler(Fail) RunSpecs(t, "AWS Region mutator suite") }