(t *testing.T)
| 20 | } |
| 21 | |
| 22 | func TestHostPortNoPort(t *testing.T) { |
| 23 | for _, tt := range hostPortNoPortTests { |
| 24 | hostPort, hostNoPort := hostPortNoPort(tt.u) |
| 25 | if hostPort != tt.hostPort { |
| 26 | t.Errorf("hostPortNoPort(%v) returned hostPort %q, want %q", tt.u, hostPort, tt.hostPort) |
| 27 | } |
| 28 | if hostNoPort != tt.hostNoPort { |
| 29 | t.Errorf("hostPortNoPort(%v) returned hostNoPort %q, want %q", tt.u, hostNoPort, tt.hostNoPort) |
| 30 | } |
| 31 | } |
| 32 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…