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

Function TestSecretScanningPushProtection_String

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

Source from the content-addressed store, hash-verified

2198}
2199
2200func TestSecretScanningPushProtection_String(t *testing.T) {
2201 t.Parallel()
2202 v := SecretScanningPushProtection{
2203 Status: Ptr(""),
2204 }
2205 want := `github.SecretScanningPushProtection{Status:""}`
2206 if got := v.String(); got != want {
2207 t.Errorf("SecretScanningPushProtection.String = %v, want %v", got, want)
2208 }
2209}
2210
2211func TestSecurityAndAnalysis_String(t *testing.T) {
2212 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…