From 8b824ce040bec434fe050d284666e55ece6954ce Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Fri, 30 Oct 2015 11:12:29 -0700 Subject: [PATCH] fixed unit test --- main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_test.go b/main_test.go index 2083397..31c781f 100644 --- a/main_test.go +++ b/main_test.go @@ -30,14 +30,14 @@ func TestRun(t *testing.T) { params := &Params{ Commands: []string{"whoami", "time", "ps -ax"}, Login: user, - Host: host, + Host: StrSlice{[]string{host}}, } keys := &plugin.Keypair{ Private: string(out), } - err = run(keys, params) + err = run(keys, params, host) if err != nil { t.Errorf("Unable to run SSH commands. %s.", err) }