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

Function TestSecretScanning_String

github/github-stringify_test.go:2189–2198  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2187}
2188
2189func TestSecretScanning_String(t *testing.T) {
2190 t.Parallel()
2191 v := SecretScanning{
2192 Status: Ptr(""),
2193 }
2194 want := `github.SecretScanning{Status:""}`
2195 if got := v.String(); got != want {
2196 t.Errorf("SecretScanning.String = %v, want %v", got, want)
2197 }
2198}
2199
2200func TestSecretScanningPushProtection_String(t *testing.T) {
2201 t.Parallel()

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
PtrFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…