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:
parent
13782c99e2
commit
0b7b1ec7b4
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user