MCPcopy Create free account
hub / github.com/github/gh-aw / TestComputeGitHubRateLimitDiff_BothNil

Function TestComputeGitHubRateLimitDiff_BothNil

pkg/cli/audit_diff_test.go:968–971  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

966}
967
968func TestComputeGitHubRateLimitDiff_BothNil(t *testing.T) {
969 diff := computeGitHubRateLimitDiff(nil, nil)
970 assert.Nil(t, diff, "both nil should return nil")
971}
972
973func TestComputeGitHubRateLimitDiff_WithData(t *testing.T) {
974 rl1 := &GitHubRateLimitUsage{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected