mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
test: improved fpm test
This commit is contained in:
parent
a7a290fb63
commit
3d93a2dfce
@ -124,7 +124,8 @@ func TestCreateFileDoesntExist(t *testing.T) {
|
||||
|
||||
func TestCmd(t *testing.T) {
|
||||
cmd := cmd([]string{"--help"})
|
||||
assert.NotEmpty(t, cmd.Env)
|
||||
assert.Len(t, cmd.Env, 1)
|
||||
assert.Contains(t, cmd.Env[0], gnuTarPath)
|
||||
}
|
||||
|
||||
func TestDefault(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user