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

Function TestUserMigration_String

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

Source from the content-addressed store, hash-verified

2469}
2470
2471func TestUserMigration_String(t *testing.T) {
2472 t.Parallel()
2473 v := UserMigration{
2474 ID: Ptr(int64(0)),
2475 GUID: Ptr(""),
2476 State: Ptr(""),
2477 LockRepositories: Ptr(false),
2478 ExcludeAttachments: Ptr(false),
2479 URL: Ptr(""),
2480 CreatedAt: Ptr(""),
2481 UpdatedAt: Ptr(""),
2482 }
2483 want := `github.UserMigration{ID:0, GUID:"", State:"", LockRepositories:false, ExcludeAttachments:false, URL:"", CreatedAt:"", UpdatedAt:""}`
2484 if got := v.String(); got != want {
2485 t.Errorf("UserMigration.String = %v, want %v", got, want)
2486 }
2487}
2488
2489func TestUserStats_String(t *testing.T) {
2490 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…