(t *testing.T)
| 13 | ) |
| 14 | |
| 15 | func mustDefaultTransport(t *testing.T) *http.Transport { |
| 16 | t.Helper() |
| 17 | |
| 18 | transport, ok := http.DefaultTransport.(*http.Transport) |
| 19 | if !ok || transport == nil { |
| 20 | t.Fatal("http.DefaultTransport is not an *http.Transport") |
| 21 | } |
| 22 | return transport |
| 23 | } |
| 24 | |
| 25 | func TestParse(t *testing.T) { |
| 26 | t.Parallel() |
no outgoing calls
no test coverage detected