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:
parent
1d117b4b1a
commit
f99de0aeb6
@ -28,7 +28,7 @@ func TestMain(m *testing.M) {
|
||||
}
|
||||
|
||||
func start(t *testing.T) {
|
||||
if !*it {
|
||||
if *it {
|
||||
return
|
||||
}
|
||||
if err := exec.Command(
|
||||
@ -40,7 +40,7 @@ func start(t *testing.T) {
|
||||
}
|
||||
|
||||
func killAndRm(t *testing.T) {
|
||||
if !*it {
|
||||
if *it {
|
||||
return
|
||||
}
|
||||
t.Log("killing registry")
|
||||
|
Loading…
x
Reference in New Issue
Block a user