Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsZeroCIDR (0.1 sec)

  1. pkg/proxy/util/utils_test.go

    			},
    			sets.New("1000::"),
    		},
    	}
    
    	for _, tc := range testCases {
    		if !tc.expected.Equal(AddressSet(tc.validator, tc.input)) {
    			t.Errorf("%s", tc.name)
    		}
    	}
    }
    
    func TestIsZeroCIDR(t *testing.T) {
    	testCases := []struct {
    		name     string
    		input    string
    		expected bool
    	}{
    		{
    			name:     "invalide cidr",
    			input:    "",
    			expected: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top