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

split tests

This commit is contained in:
Carlos Alexandro Becker 2016-12-31 13:30:00 -02:00
parent c84623a0cc
commit 43d21a459d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

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)
}