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

Function TestAlert_GetState

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

Source from the content-addressed store, hash-verified

1251}
1252
1253func TestAlert_GetState(tt *testing.T) {
1254 tt.Parallel()
1255 var zeroValue string
1256 a := &Alert{State: &zeroValue}
1257 a.GetState()
1258 a = &Alert{}
1259 a.GetState()
1260 a = nil
1261 a.GetState()
1262}
1263
1264func TestAlert_GetTool(tt *testing.T) {
1265 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetStateMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…