1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-20 03:59:26 +02:00

more renames

This commit is contained in:
Carlos Alexandro Becker 2017-01-14 20:03:11 -02:00
parent f95832a7ac
commit 5974b4570c
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -10,17 +10,17 @@ func TestRepoName(t *testing.T) {
assert := assert.New(t)
name, err := remoteRepo()
assert.NoError(err)
assert.Equal("goreleaser/releaser", name)
assert.Equal("goreleaser/goreleaser", name)
}
func TestExtractReporFromGitURL(t *testing.T) {
assert := assert.New(t)
url := extractRepoFromURL("git@github.com:goreleaser/releaser.git")
assert.Equal("goreleaser/releaser", url)
url := extractRepoFromURL("git@github.com:goreleaser/goreleaser.git")
assert.Equal("goreleaser/goreleaser", url)
}
func TestExtractReporFromHttpsURL(t *testing.T) {
assert := assert.New(t)
url := extractRepoFromURL("https://github.com/goreleaser/goreleaser.git")
assert.Equal("goreleaser/releaser", url)
assert.Equal("goreleaser/goreleaser", url)
}