1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00
goreleaser/pipeline/compress/compress_test.go

16 lines
228 B
Go
Raw Normal View History

2016-12-30 16:48:55 -02:00
package compress
import (
"testing"
2016-12-31 14:07:58 -02:00
2016-12-30 16:52:50 -02:00
"github.com/stretchr/testify/assert"
2016-12-30 16:48:55 -02:00
)
func TestExtWindows(t *testing.T) {
assert.Equal(t, ext("windows"), ".exe")
}
func TestExtOthers(t *testing.T) {
2016-12-30 16:52:50 -02:00
assert.Empty(t, ext("linux"))
2016-12-30 16:48:55 -02:00
}