- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestValidateSelector (0.12 sec)
-
pkg/apis/resource/structured/namedresources/validation/validation_test.go
for name, scenario := range scenarios { t.Run(name, func(t *testing.T) { errs := ValidateResources(scenario.resources, nil) assert.Equal(t, scenario.wantFailures, errs) }) } } func TestValidateSelector(t *testing.T) { scenarios := map[string]struct { selector string wantFailures field.ErrorList }{ "okay": { selector: "true", }, "empty": { selector: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 10.4K bytes - Viewed (0)