Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NumExpectedErrs (0.23 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go

    			2,
    		},
    	}
    
    	if len(testCases.ErrList) != len(testCases.NumExpectedErrs) {
    		t.Errorf("Mismatch: length of NumExpectedErrs does not match length of ErrList")
    	}
    	for i, tc := range testCases.ErrList {
    		agg := tc.ToAggregate()
    		numErrs := 0
    
    		if agg != nil {
    			numErrs = len(agg.Errors())
    		}
    		if numErrs != testCases.NumExpectedErrs[i] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top