mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
test: fix arch tests
This commit is contained in:
parent
815b388464
commit
7d6a77bee6
@ -1378,13 +1378,6 @@ func TestArches(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
t.Run("mips64lesoftfloat", func(t *testing.T) {
|
||||
info := exampleInfo()
|
||||
info.Arch = "mips64le"
|
||||
info = ensureValidArch(info)
|
||||
require.Equal(t, "mips64el", info.Arch)
|
||||
})
|
||||
|
||||
t.Run("override", func(t *testing.T) {
|
||||
info := exampleInfo()
|
||||
info.Deb.Arch = "foo64"
|
||||
|
@ -506,13 +506,6 @@ func TestArches(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
t.Run("mips64lesoftfloat", func(t *testing.T) {
|
||||
info := exampleInfo()
|
||||
info.Arch = "mips64lesoftfloat"
|
||||
info = ensureValidArch(info)
|
||||
require.Equal(t, "mips64el", info.Arch)
|
||||
})
|
||||
|
||||
t.Run("override", func(t *testing.T) {
|
||||
info := exampleInfo()
|
||||
info.RPM.Arch = "foo64"
|
||||
|
Loading…
Reference in New Issue
Block a user