From 803b91ff3dddcacc71f648e590aa46ddfbc10c41 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Thu, 28 Mar 2024 15:49:33 +0100 Subject: [PATCH] Fix using corerect testing.T when creating gomega object --- .../controllers/clusterclass/clusterclass_controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controllers/clusterclass/clusterclass_controller_test.go b/internal/controllers/clusterclass/clusterclass_controller_test.go index e06ffc423538..56d1efb50719 100644 --- a/internal/controllers/clusterclass/clusterclass_controller_test.go +++ b/internal/controllers/clusterclass/clusterclass_controller_test.go @@ -640,7 +640,7 @@ func TestReconciler_reconcileVariables(t *testing.T) { }, } for _, tt := range tests { - t.Run(tt.name, func(*testing.T) { + t.Run(tt.name, func(t *testing.T) { g := NewWithT(t) fakeRuntimeClient := fakeruntimeclient.NewRuntimeClientBuilder(). WithCallExtensionResponses(