From cf88ab73669ce16af3a1d7209742f5cd906bae19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramon=20Cu=C3=B1at?= Date: Wed, 12 Jun 2024 23:00:49 +0200 Subject: [PATCH] add helper call for assertAllNonZeroExcept function --- kustomize/commands/internal/kustfile/kustomizationfile_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kustomize/commands/internal/kustfile/kustomizationfile_test.go b/kustomize/commands/internal/kustfile/kustomizationfile_test.go index 846ca81748..583ef69ea4 100644 --- a/kustomize/commands/internal/kustfile/kustomizationfile_test.go +++ b/kustomize/commands/internal/kustfile/kustomizationfile_test.go @@ -226,6 +226,7 @@ func TestReadAndWriteDummy(t *testing.T) { } func assertAllNonZeroExcept(t *testing.T, val *types.Kustomization, except []string) { + t.Helper() fFor := reflect.ValueOf(val).Elem() n := fFor.NumField() for i := 0; i < n; i++ {