mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
split tests
This commit is contained in:
parent
c84623a0cc
commit
43d21a459d
13
split/split_test.go
Normal file
13
split/split_test.go
Normal 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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user