(p []byte)
| 564 | } |
| 565 | |
| 566 | func (w testLogWriter) Write(p []byte) (int, error) { |
| 567 | w.t.Logf("%s", p) |
| 568 | return len(p), nil |
| 569 | } |
| 570 | |
| 571 | // TestHost tests handling of host names and confirms that it matches net/http. |
| 572 | func TestHost(t *testing.T) { |
no outgoing calls
no test coverage detected