(t *testing.T, httpClient *http.Client)
| 81 | } |
| 82 | |
| 83 | func stubClientFnFromHTTP(t *testing.T, httpClient *http.Client) func(context.Context) (*gogithub.Client, error) { |
| 84 | t.Helper() |
| 85 | return func(_ context.Context) (*gogithub.Client, error) { |
| 86 | return mustNewGHClient(t, httpClient), nil |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | func stubClientFnErr(errMsg string) func(context.Context) (*gogithub.Client, error) { |
| 91 | return func(_ context.Context) (*gogithub.Client, error) { |
no test coverage detected