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

Function TestPlan_String

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

Source from the content-addressed store, hash-verified

1547}
1548
1549func TestPlan_String(t *testing.T) {
1550 t.Parallel()
1551 v := Plan{
1552 Name: Ptr(""),
1553 Space: Ptr(0),
1554 Collaborators: Ptr(0),
1555 PrivateRepos: Ptr(int64(0)),
1556 FilledSeats: Ptr(0),
1557 Seats: Ptr(0),
1558 }
1559 want := `github.Plan{Name:"", Space:0, Collaborators:0, PrivateRepos:0, FilledSeats:0, Seats:0}`
1560 if got := v.String(); got != want {
1561 t.Errorf("Plan.String = %v, want %v", got, want)
1562 }
1563}
1564
1565func TestPreReceiveHook_String(t *testing.T) {
1566 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…