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

Function assertWrite

github/github_test.go:444–448  ·  view source on GitHub ↗
(t *testing.T, w io.Writer, data []byte)

Source from the content-addressed store, hash-verified

442}
443
444func assertWrite(t *testing.T, w io.Writer, data []byte) {
445 t.Helper()
446 _, err := w.Write(data)
447 assertNilError(t, err)
448}
449
450func TestWithHTTPClient(t *testing.T) {
451 t.Parallel()

Calls 1

assertNilErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…