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