Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewInvalid (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    	}
    	if time, ok := SuggestsClientDelay(NewGenericServerResponse(429, "get", resource("tests"), "test", "doing something", 0, true)); time != 0 || ok {
    		t.Errorf("unexpected %d", time)
    	}
    }
    
    func TestNewInvalid(t *testing.T) {
    	testCases := []struct {
    		Err     *field.Error
    		Details *metav1.StatusDetails
    		Msg     string
    	}{
    		{
    			field.Duplicate(field.NewPath("field[0].name"), "bar"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top