(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestOfficialExtension_Repository(t *testing.T) { |
| 10 | ext := &OfficialExtension{Name: "stack", Owner: "github", Repo: "gh-stack"} |
| 11 | repo := ext.Repository() |
| 12 | assert.Equal(t, "github", repo.RepoOwner()) |
| 13 | assert.Equal(t, "gh-stack", repo.RepoName()) |
| 14 | assert.Equal(t, "github.com", repo.RepoHost()) |
| 15 | } |
| 16 | |
| 17 | func TestIsOfficial(t *testing.T) { |
| 18 | tests := []struct { |
nothing calls this directly
no test coverage detected