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

Function TestKey_GetKey

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

Source from the content-addressed store, hash-verified

25696}
25697
25698func TestKey_GetKey(tt *testing.T) {
25699 tt.Parallel()
25700 var zeroValue string
25701 k := &Key{Key: &zeroValue}
25702 k.GetKey()
25703 k = &Key{}
25704 k.GetKey()
25705 k = nil
25706 k.GetKey()
25707}
25708
25709func TestKey_GetLastUsed(tt *testing.T) {
25710 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetKeyMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…