(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestBuildRunHTMLURL_MissingRepo(t *testing.T) { |
| 74 | got := buildRunHTMLURL("github.com", "myorg", "", 12345) |
| 75 | if got != "" { |
| 76 | t.Errorf("buildRunHTMLURL with missing repo = %q; want empty string", got) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func TestBuildRunHTMLURL_DefaultHostname(t *testing.T) { |
| 81 | got := buildRunHTMLURL("", "myorg", "myrepo", 12345) |
nothing calls this directly
no test coverage detected