mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +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)
|
||
|
}
|