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

Function mustParseQualifiedHeadRef

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

Source from the content-addressed store, hash-verified

2754}
2755
2756func mustParseQualifiedHeadRef(ref string) shared.QualifiedHeadRef {
2757 parsed, err := shared.ParseQualifiedHeadRef(ref)
2758 if err != nil {
2759 panic(err)
2760 }
2761 return parsed
2762}
2763
2764func Test_generateCompareURL(t *testing.T) {
2765 tests := []struct {

Callers 1

Test_generateCompareURLFunction · 0.70

Calls 1

ParseQualifiedHeadRefFunction · 0.92

Tested by

no test coverage detected