You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
@@ -91,6 +91,20 @@ func TestSignArtifacts(t *testing.T) {
|
||||
expectedErrMsg string
|
||||
user string
|
||||
}{
|
||||
{
|
||||
desc: "sign cmd not found",
|
||||
expectedErrMsg: `sign: not-a-valid-cmd failed: exec: "not-a-valid-cmd": executable file not found in $PATH: `,
|
||||
ctx: context.New(
|
||||
config.Project{
|
||||
Signs: []config.Sign{
|
||||
{
|
||||
Artifacts: "all",
|
||||
Cmd: "not-a-valid-cmd",
|
||||
},
|
||||
},
|
||||
},
|
||||
),
|
||||
},
|
||||
{
|
||||
desc: "sign errors",
|
||||
expectedErrMsg: "sign: exit failed",
|
||||
|
||||
Reference in New Issue
Block a user