Skip to content

Commit 0ba4b7c

Browse files
committed
Add comment to validateCrd function
1 parent 8404b7d commit 0ba4b7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/cel/common.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func uniqueResourceName(name string) string {
8181
return fmt.Sprintf("%s-%d", name, randomPrimeNumber())
8282
}
8383

84+
// validateCrd creates a k8s resource and validates it against the expected errors.
8485
func validateCrd(t *testing.T, wantErrors []string, g *WithT, crd client.Object, k8sClient client.Client) {
8586
t.Helper()
8687

0 commit comments

Comments
 (0)