mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
14 lines
232 B
Go
14 lines
232 B
Go
package build
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestValid(t *testing.T) {
|
|
assert.True(t, valid("windows", "386"))
|
|
assert.True(t, valid("linux", "386"))
|
|
assert.False(t, valid("windows", "arm"))
|
|
}
|