go test -run Test_Proxy_WithClient_Nil_Panics
(t *testing.T)
| 834 | |
| 835 | // go test -run Test_Proxy_WithClient_Nil_Panics |
| 836 | func Test_Proxy_WithClient_Nil_Panics(t *testing.T) { |
| 837 | t.Parallel() |
| 838 | |
| 839 | require.PanicsWithValue(t, "proxy: WithClient requires a non-nil *fasthttp.Client", func() { |
| 840 | WithClient(nil) |
| 841 | }) |
| 842 | } |
| 843 | |
| 844 | // go test -run Test_Proxy_Do_NilClientOverride |
| 845 | func Test_Proxy_Do_NilClientOverride(t *testing.T) { |
nothing calls this directly
no test coverage detected