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

Function mustParseQualifiedHeadRef

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

Source from the content-addressed store, hash-verified

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

Callers 1

Test_generateCompareURLFunction · 0.70

Calls 1

ParseQualifiedHeadRefFunction · 0.92

Tested by

no test coverage detected