Skip to content

Commit

Permalink
add helper call for assertAllNonZeroExcept function
Browse files Browse the repository at this point in the history
  • Loading branch information
cunyat committed Jun 12, 2024
1 parent 53100b0 commit cf88ab7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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++ {
Expand Down

0 comments on commit cf88ab7

Please sign in to comment.