1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

removed dupl test

This commit is contained in:
Carlos Alexandro Becker 2017-04-21 15:45:49 -03:00
parent cee5181bd1
commit 1c7d04bfd1
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -50,16 +50,3 @@ func TestPipeFileNotExist(t *testing.T) {
ctx.AddArtifact("nope")
assert.Error(Pipe{}.Run(ctx))
}
func TestPipeFileCantBeWritten(t *testing.T) {
var assert = assert.New(t)
folder, err := ioutil.TempDir("", "goreleasertest")
assert.NoError(err)
var ctx = &context.Context{
Config: config.Project{
Dist: folder,
},
}
ctx.AddArtifact("nope")
assert.Error(Pipe{}.Run(ctx))
}