mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
16 lines
231 B
Go
16 lines
231 B
Go
package build
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestExtWindows(t *testing.T) {
|
|
assert.Equal(t, extFor("windows"), ".exe")
|
|
}
|
|
|
|
func TestExtOthers(t *testing.T) {
|
|
assert.Empty(t, extFor("linux"))
|
|
}
|