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

Function TestPullRequest_GetMergeCommitSHA

github/github-accessors_test.go:36763–36772  ·  view source on GitHub ↗
(tt *testing.T)

Source from the content-addressed store, hash-verified

36761}
36762
36763func TestPullRequest_GetMergeCommitSHA(tt *testing.T) {
36764 tt.Parallel()
36765 var zeroValue string
36766 p := &PullRequest{MergeCommitSHA: &zeroValue}
36767 p.GetMergeCommitSHA()
36768 p = &PullRequest{}
36769 p.GetMergeCommitSHA()
36770 p = nil
36771 p.GetMergeCommitSHA()
36772}
36773
36774func TestPullRequest_GetMerged(tt *testing.T) {
36775 tt.Parallel()

Callers

nothing calls this directly

Calls 1

GetMergeCommitSHAMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…