mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-23 12:18:50 +02:00
15 lines
241 B
Go
15 lines
241 B
Go
package compress
|
|
|
|
import (
|
|
"testing"
|
|
"github.com/docker/docker/pkg/testutil/assert"
|
|
)
|
|
|
|
func TestExtWindows(t *testing.T) {
|
|
assert.Equal(t, ext("windows"), ".exe")
|
|
}
|
|
|
|
func TestExtOthers(t *testing.T) {
|
|
assert.Equal(t, ext("linux"), "")
|
|
}
|