MCPcopy Create free account
hub / github.com/github/gh-aw / TestBuildRunHTMLURL_MissingOwner

Function TestBuildRunHTMLURL_MissingOwner

pkg/cli/view_command_test.go:66–71  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

64}
65
66func TestBuildRunHTMLURL_MissingOwner(t *testing.T) {
67 got := buildRunHTMLURL("github.com", "", "myrepo", 12345)
68 if got != "" {
69 t.Errorf("buildRunHTMLURL with missing owner = %q; want empty string", got)
70 }
71}
72
73func TestBuildRunHTMLURL_MissingRepo(t *testing.T) {
74 got := buildRunHTMLURL("github.com", "myorg", "", 12345)

Callers

nothing calls this directly

Calls 2

buildRunHTMLURLFunction · 0.85
ErrorfMethod · 0.45

Tested by

no test coverage detected