1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-11 19:29:20 +08:00

gobottest: increase test coverage

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-04-09 11:30:15 +02:00
parent 13782c99e2
commit 0b7b1ec7b4

View File

@ -35,3 +35,8 @@ func TestRefute(t *testing.T) {
t.Errorf("Refute failed: 1 should not be 1")
}
}
func TestExecCommand(t *testing.T) {
val := ExecCommand("echo", "hello")
Refute(t, val, nil)
}