1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

test: fix start/stop registry

This commit is contained in:
Carlos Alexandro Becker 2017-12-26 15:41:50 -02:00
parent 1d117b4b1a
commit f99de0aeb6
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -28,7 +28,7 @@ func TestMain(m *testing.M) {
} }
func start(t *testing.T) { func start(t *testing.T) {
if !*it { if *it {
return return
} }
if err := exec.Command( if err := exec.Command(
@ -40,7 +40,7 @@ func start(t *testing.T) {
} }
func killAndRm(t *testing.T) { func killAndRm(t *testing.T) {
if !*it { if *it {
return return
} }
t.Log("killing registry") t.Log("killing registry")