1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

Merge pull request #19 from goreleaser/more-tests

split tests
This commit is contained in:
Carlos Alexandro Becker 2016-12-31 13:33:55 -02:00 committed by GitHub
commit 8e4a5ef322

13
split/split_test.go Normal file
View File

@ -0,0 +1,13 @@
package split
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestSplit(t *testing.T) {
assert := assert.New(t)
a, b := OnSlash("a/b")
assert.Equal("a", a)
assert.Equal("b", b)
}