mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
15 lines
203 B
Go
15 lines
203 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)
|
|
}
|