Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDomainName (0.24 sec)

  1. pilot/pkg/networking/util/util_test.go

    		t.Run(fmt.Sprint(tt.host), func(t *testing.T) {
    			if got := IPv6Compliant(tt.host); got != tt.match {
    				t.Fatalf("got %v wanted %v", got, tt.match)
    			}
    		})
    	}
    }
    
    func TestDomainName(t *testing.T) {
    	tests := []struct {
    		host  string
    		port  int
    		match string
    	}{
    		{"localhost", 3000, "localhost:3000"},
    		{"127.0.0.1", 3000, "127.0.0.1:3000"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top