You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
split tests
This commit is contained in:
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)
|
||||
}
|
Reference in New Issue
Block a user