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

Function TestAbuseRateLimitError_GetRetryAfter

github/github-accessors_test.go:26–35  ·  view source on GitHub ↗
(tt *testing.T)

Source from the content-addressed store, hash-verified

24}
25
26func TestAbuseRateLimitError_GetRetryAfter(tt *testing.T) {
27 tt.Parallel()
28 var zeroValue time.Duration
29 a := &AbuseRateLimitError{RetryAfter: &zeroValue}
30 a.GetRetryAfter()
31 a = &AbuseRateLimitError{}
32 a.GetRetryAfter()
33 a = nil
34 a.GetRetryAfter()
35}
36
37func TestAcceptedAssignment_GetAssignment(tt *testing.T) {
38 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetRetryAfterMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…