mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-07 13:31:37 +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)
|
|
}
|