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:
parent
cee5181bd1
commit
1c7d04bfd1
@ -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))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user