MCPcopy Index your code
hub / github.com/google/go-github / TestRateLimits_coverage

Function TestRateLimits_coverage

github/rate_limit_test.go:205–216  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

203}
204
205func TestRateLimits_coverage(t *testing.T) {
206 t.Parallel()
207 client, _, _ := setup(t)
208
209 ctx := t.Context()
210
211 const methodName = "RateLimits"
212 testNewRequestAndDoFailure(t, methodName, client, func() (*Response, error) {
213 _, resp, err := client.RateLimit.Get(ctx)
214 return resp, err
215 })
216}
217
218func TestRateLimits_overQuota(t *testing.T) {
219 t.Parallel()

Callers

nothing calls this directly

Calls 3

setupFunction · 0.70
GetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…