- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDefinitionDoesntMatch (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
require.ErrorContains(t, err, `Denied`) } // Shows that if a definition does not match the input, it will not be used. // But with a different input it will be used. func TestDefinitionDoesntMatch(t *testing.T) { compiler := &fakeCompiler{} matcher := &fakeMatcher{ DefaultMatch: true, } testContext := setupFakeTest(t, compiler, matcher) datalock := sync.Mutex{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0)