Skip to content

Commit 2b5d05c

Browse files
committed
serviceexportrbac reconciler unit test: add missing t.Helper()
1 parent 164cb35 commit 2b5d05c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/controllers/serviceexportrbac/rbac_reconciler_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ func Test_reconciler_reconcile(t *testing.T) {
860860
}
861861

862862
func compareMap[V any](t *testing.T, kind string, a, b map[string]V) {
863+
t.Helper()
863864
require.Equal(t, slices.Sorted(maps.Keys(a)), slices.Sorted(maps.Keys(b)), "got unexpected entries after %s reconciliation", kind)
864865
for k := range a {
865866
require.Equal(t, a[k], b[k], "got unexpected content in %s %s", k, kind)

0 commit comments

Comments
 (0)