Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseIPsSplitToV4V6 (0.26 sec)

  1. pkg/util/net/ip_test.go

    			}
    			if !reflect.DeepEqual(ipv4, tt.ipv4) || !reflect.DeepEqual(ipv6, tt.ipv6) {
    				t.Errorf("IPsSplitV4V6() got %v %v, want %v %v", ipv4, ipv6, tt.ipv4, tt.ipv6)
    			}
    		})
    	}
    }
    
    func TestParseIPsSplitToV4V6(t *testing.T) {
    	tests := []struct {
    		name string
    		ips  []string
    		ipv4 func() []netip.Addr
    		ipv6 func() []netip.Addr
    	}{
    		{
    			name: "include valid and invalid ip addresses",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top