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

Function TestCodeSecurity_String

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

Source from the content-addressed store, hash-verified

356}
357
358func TestCodeSecurity_String(t *testing.T) {
359 t.Parallel()
360 v := CodeSecurity{
361 Status: Ptr(""),
362 }
363 want := `github.CodeSecurity{Status:""}`
364 if got := v.String(); got != want {
365 t.Errorf("CodeSecurity.String = %v, want %v", got, want)
366 }
367}
368
369func TestCombinedStatus_String(t *testing.T) {
370 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…