MCPcopy Create free account
hub / github.com/cli/cli / mustParseQualifiedHeadRef

Function mustParseQualifiedHeadRef

pkg/cmd/pr/create/create_test.go:2794–2800  ·  view source on GitHub ↗
(ref string)

Source from the content-addressed store, hash-verified

2792}
2793
2794func mustParseQualifiedHeadRef(ref string) shared.QualifiedHeadRef {
2795 parsed, err := shared.ParseQualifiedHeadRef(ref)
2796 if err != nil {
2797 panic(err)
2798 }
2799 return parsed
2800}
2801
2802func Test_generateCompareURL(t *testing.T) {
2803 tests := []struct {

Callers 1

Test_generateCompareURLFunction · 0.70

Calls 1

ParseQualifiedHeadRefFunction · 0.92

Tested by

no test coverage detected