1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-11-25 22:41:44 +02:00

fixed arm .deb

This commit is contained in:
Carlos Alexandro Becker
2017-08-27 13:18:23 -03:00
parent 42446c8079
commit 71eab55b42
4 changed files with 45 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
package linux
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
)
func TestArch(t *testing.T) {
for from, to := range map[string]string{
"amd64": "amd64",
"386": "i386",
"arm64": "arm64",
"arm6": "armhf",
"what": "what",
} {
t.Run(fmt.Sprintf("%s to %s", from, to), func(t *testing.T) {
assert.Equal(t, to, Arch(from))
})
}
}