(t *testing.T)
| 64 | } |
| 65 | |
| 66 | func 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 | |
| 73 | func TestBuildRunHTMLURL_MissingRepo(t *testing.T) { |
| 74 | got := buildRunHTMLURL("github.com", "myorg", "", 12345) |
nothing calls this directly
no test coverage detected