(t *testing.T)
| 372 | } |
| 373 | |
| 374 | func TestNilConfig(t *testing.T) { |
| 375 | _, _, _, err := New(nil) |
| 376 | require.Error(t, err) |
| 377 | |
| 378 | _, _, _, err = NewNoConfirm(nil) |
| 379 | require.Error(t, err) |
| 380 | } |
| 381 | |
| 382 | func fakeServer(t *testing.T, returnIn time.Duration, counter *int32) *httptest.Server { |
| 383 | server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) { |
nothing calls this directly
no test coverage detected