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

Function TestGitService_createSignature_nilCommit

github/git_commits_test.go:359–366  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

357}
358
359func TestGitService_createSignature_nilCommit(t *testing.T) {
360 t.Parallel()
361 _, err := createSignature(uncalledSigner(t), nil)
362
363 if err == nil {
364 t.Error("Expected error to be returned because no author was passed")
365 }
366}
367
368func TestGitService_createSignature_signerError(t *testing.T) {
369 t.Parallel()

Callers

nothing calls this directly

Calls 3

createSignatureFunction · 0.85
uncalledSignerFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…