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

Function assertNilError

tools/metadata/main_test.go:414–421  ·  view source on GitHub ↗
(t *testing.T, err error)

Source from the content-addressed store, hash-verified

412}
413
414func assertNilError(t *testing.T, err error) bool {
415 t.Helper()
416 if err != nil {
417 t.Error(err)
418 return false
419 }
420 return true
421}

Callers 5

updateGoldenDirFunction · 0.70
checkGoldenDirFunction · 0.70
mustRelFunction · 0.70
assertNoErrMethod · 0.70
assertEqualFilesFunction · 0.70

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…