core: increase test coverage

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-05-07 13:47:52 +02:00
parent d8298e6e04
commit 6f9bdad1ec
1 changed files with 2 additions and 2 deletions

View File

@ -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() {