Skip to content

Commit b426cb5

Browse files
committed
serviceexportrbac reconciler unit test: add missing t.Helper()
1 parent c4472ee commit b426cb5

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
@@ -851,6 +851,7 @@ func Test_reconciler_reconcile(t *testing.T) {
851851
}
852852

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

0 commit comments

Comments
 (0)