(t *testing.T)
| 71 | } |
| 72 | |
| 73 | func TestHTMLURL(t *testing.T) { |
| 74 | conf.SetMockServer(t, |
| 75 | conf.ServerOpts{ |
| 76 | ExternalURL: "https://example.com/", |
| 77 | }, |
| 78 | ) |
| 79 | |
| 80 | got := HTMLURL("alice", "example") |
| 81 | want := "https://example.com/alice/example" |
| 82 | assert.Equal(t, want, got) |
| 83 | } |
| 84 | |
| 85 | func TestCompareCommitsPath(t *testing.T) { |
| 86 | got := CompareCommitsPath("alice", "example", "old", "new") |
nothing calls this directly
no test coverage detected