Skip to content

Commit

Permalink
Fix LedDriver test
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Jul 10, 2014
1 parent a94c3c0 commit ab7ae97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platforms/gpio/led_driver_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package gpio

import (
"github.com/hybridgroup/gobot"
"testing"

"github.com/hybridgroup/gobot"
)

func initTestLedDriver() *LedDriver {
return NewLedDriver("myLed", newGpioTestAdaptor("adaptor"), "1")
return NewLedDriver(newGpioTestAdaptor("adaptor"), "myLed", "1")
}

func TestLedDriverStart(t *testing.T) {
Expand Down

0 comments on commit ab7ae97

Please sign in to comment.