mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 17:23:54 +00:00
Fix failing unittest
This commit is contained in:
@@ -70,7 +70,7 @@ func TestSSHNoArtifact(t *testing.T) {
|
|||||||
t.Error("Expect script not to contains scp command")
|
t.Error("Expect script not to contains scp command")
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.Contains(bscr, "ssh -o StrictHostKeyChecking=no -p 22 user@test.example.com /opt/bin/redeploy.sh") {
|
if !strings.Contains(bscr, "ssh -o StrictHostKeyChecking=no -p 22 user@test.example.com \"/opt/bin/redeploy.sh\"") {
|
||||||
t.Error("Expect script to contains ssh command")
|
t.Error("Expect script to contains ssh command")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user