MCPcopy Create free account
hub / github.com/google/go-github / TestRemoveToken_GetToken

Function TestRemoveToken_GetToken

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

Source from the content-addressed store, hash-verified

40007}
40008
40009func TestRemoveToken_GetToken(tt *testing.T) {
40010 tt.Parallel()
40011 var zeroValue string
40012 r := &RemoveToken{Token: &zeroValue}
40013 r.GetToken()
40014 r = &RemoveToken{}
40015 r.GetToken()
40016 r = nil
40017 r.GetToken()
40018}
40019
40020func TestRename_GetFrom(tt *testing.T) {
40021 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetTokenMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…