update testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-08-01 17:24:38 +08:00
parent ed83305de8
commit 40323f23e5

View File

@ -240,7 +240,7 @@ func TestSetENV(t *testing.T) {
Port: 22, Port: 22,
KeyPath: "./tests/.ssh/id_rsa", KeyPath: "./tests/.ssh/id_rsa",
Secrets: []string{"FOO"}, Secrets: []string{"FOO"},
Envs: []string{"FOO"}, Envs: []string{"foo"},
Debug: true, Debug: true,
Script: []string{"whoami; echo $FOO"}, Script: []string{"whoami; echo $FOO"},
CommandTimeout: 1, CommandTimeout: 1,