mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
14 lines
202 B
Go
14 lines
202 B
Go
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)
|
|
}
|