Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsProtectedCommunityGroup (0.32 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers_test.go

    		},
    		{
    			name:     "alternative",
    			group:    "different.io",
    			expected: false,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			actual := IsProtectedCommunityGroup(test.group)
    
    			if actual != test.expected {
    				t.Fatalf("expected %v, got %v", test.expected, actual)
    			}
    		})
    	}
    }
    
    func TestGetAPIApprovalState(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 20.3K bytes
    - Viewed (0)
Back to top