1
0
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:
Carlos Alexandro Becker 2017-12-26 22:18:01 -02:00
parent a7a290fb63
commit 3d93a2dfce
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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) {