mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
test: fixed one test
This commit is contained in:
parent
f99de0aeb6
commit
ef85d587fe
@ -148,6 +148,7 @@ func TestRunPipe(t *testing.T) {
|
||||
Binary: "mybin",
|
||||
Dockerfile: "testdata/Dockerfile",
|
||||
TagTemplate: "{{.Tag}}",
|
||||
Latest: true,
|
||||
},
|
||||
expect: []string{
|
||||
"docker.io/nope:latest",
|
||||
@ -258,7 +259,7 @@ func TestRunPipe(t *testing.T) {
|
||||
// the step ran
|
||||
for _, img := range docker.expect {
|
||||
t.Log("removing docker image", img)
|
||||
assert.NoError(t, exec.Command("docker", "rmi", img).Run(), "could not delete image", img)
|
||||
assert.NoError(t, exec.Command("docker", "rmi", img).Run(), "could not delete image %s", img)
|
||||
}
|
||||
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user