Lines Matching refs:tt
64 for _, tt := range resolveIPAddrTests {
65 addr, err := ResolveIPAddr(tt.network, tt.litAddrOrName)
66 if !reflect.DeepEqual(addr, tt.addr) || !reflect.DeepEqual(err, tt.err) {
67 t.Errorf("ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err)
72 if !reflect.DeepEqual(addr2, tt.addr) || err != tt.err {
73 t.Errorf("(%q, %q): ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr.Network(), addr.String(), addr2, err, tt.addr, tt.err)
89 for _, tt := range ipConnLocalNameTests {
90 if !testableNetwork(tt.net) {
91 t.Logf("skipping %s test", tt.net)
94 c, err := ListenIP(tt.net, tt.laddr)