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

Function TestUser_GetLogin

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

Source from the content-addressed store, hash-verified

52482}
52483
52484func TestUser_GetLogin(tt *testing.T) {
52485 tt.Parallel()
52486 var zeroValue string
52487 u := &User{Login: &zeroValue}
52488 u.GetLogin()
52489 u = &User{}
52490 u.GetLogin()
52491 u = nil
52492 u.GetLogin()
52493}
52494
52495func TestUser_GetName(tt *testing.T) {
52496 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetLoginMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…