From 3fa78ac0885eaa13c4d55ab583a606d7ea881b23 Mon Sep 17 00:00:00 2001 From: Nils Werner Date: Sat, 25 Oct 2014 15:04:22 +0200 Subject: [PATCH] Fix failing unittest --- plugin/deploy/ssh_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/deploy/ssh_test.go b/plugin/deploy/ssh_test.go index 581f15ccf..037d3ab34 100644 --- a/plugin/deploy/ssh_test.go +++ b/plugin/deploy/ssh_test.go @@ -70,7 +70,7 @@ func TestSSHNoArtifact(t *testing.T) { 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") } }