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

Function assertNoDiff

github/github_test.go:430–435  ·  view source on GitHub ↗
(t *testing.T, want, got any)

Source from the content-addressed store, hash-verified

428}
429
430func assertNoDiff(t *testing.T, want, got any) {
431 t.Helper()
432 if diff := cmp.Diff(want, got); diff != "" {
433 t.Errorf("diff mismatch (-want +got):\n%v", diff)
434 }
435}
436
437func assertNilError(t *testing.T, err error) {
438 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…