1
0
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:
Carlos Alexandro Becker 2017-12-26 16:37:05 -02:00
parent f99de0aeb6
commit ef85d587fe
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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)
}
})