core: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
d8298e6e04
commit
6f9bdad1ec
|
@ -47,11 +47,11 @@ func TestRobotStart(t *testing.T) {
|
|||
func TestRobotStartAutoRun(t *testing.T) {
|
||||
adaptor1 := newTestAdaptor("Connection1", "/dev/null")
|
||||
driver1 := newTestDriver(adaptor1, "Device1", "0")
|
||||
work := func() {}
|
||||
//work := func() {}
|
||||
r := NewRobot("autorun",
|
||||
[]Connection{adaptor1},
|
||||
[]Device{driver1},
|
||||
work,
|
||||
//work,
|
||||
)
|
||||
|
||||
go func() {
|
||||
|
|
Loading…
Reference in New Issue