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

Function assertNilError

github/github_test.go:437–442  ·  view source on GitHub ↗
(t *testing.T, err error)

Source from the content-addressed store, hash-verified

435}
436
437func assertNilError(t *testing.T, err error) {
438 t.Helper()
439 if err != nil {
440 t.Errorf("unexpected error: %v", err)
441 }
442}
443
444func assertWrite(t *testing.T, w io.Writer, data []byte) {
445 t.Helper()

Callers 15

mockSignerFunction · 0.70
TestGistsService_CreateFunction · 0.70
TestGistsService_EditFunction · 0.70
testFormValuesFunction · 0.70
testFormValuesListFunction · 0.70
assertWriteFunction · 0.70
TestDoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…