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

Function TestAlert_GetNumber

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

Source from the content-addressed store, hash-verified

1191}
1192
1193func TestAlert_GetNumber(tt *testing.T) {
1194 tt.Parallel()
1195 var zeroValue int
1196 a := &Alert{Number: &zeroValue}
1197 a.GetNumber()
1198 a = &Alert{}
1199 a.GetNumber()
1200 a = nil
1201 a.GetNumber()
1202}
1203
1204func TestAlert_GetRepository(tt *testing.T) {
1205 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetNumberMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…