1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-21 12:17:03 +02:00
goreleaser/pipeline/repos/repos_test.go

15 lines
201 B
Go
Raw Normal View History

2017-01-14 12:34:22 -02:00
package repos
2016-12-31 13:30:00 -02:00
import (
"testing"
2016-12-31 14:07:58 -02:00
2016-12-31 13:30:00 -02:00
"github.com/stretchr/testify/assert"
)
func TestSplit(t *testing.T) {
assert := assert.New(t)
2017-01-14 12:34:22 -02:00
a, b := split("a/b")
2016-12-31 13:30:00 -02:00
assert.Equal("a", a)
assert.Equal("b", b)
}