package deb import ( "io/ioutil" "testing" "github.com/goreleaser/nfpm" "github.com/tj/assert" ) func TestDeb(t *testing.T) { var err = Default.Package( nfpm.Info{ Name: "foo", Arch: "amd64", Depends: []string{ "bash", }, Description: "Foo does things", Priority: "extra", Maintainer: "Carlos A Becker ", Version: "1.0.0", Section: "default", Homepage: "http://carlosbecker.com", Vendor: "nope", Files: map[string]string{ "../testdata/fake": "/usr/local/bin/fake", "../testdata/whatever.conf": "/etc/fake/fake.conf", }, }, ioutil.Discard, ) assert.NoError(t, err) }