diff --git a/drivers/i2c/ina3221_driver_test.go b/drivers/i2c/ina3221_driver_test.go index 6bc30105..2820b599 100644 --- a/drivers/i2c/ina3221_driver_test.go +++ b/drivers/i2c/ina3221_driver_test.go @@ -5,9 +5,10 @@ import ( "errors" + "strings" + "gobot.io/x/gobot" "gobot.io/x/gobot/gobottest" - "strings" ) var _ gobot.Driver = (*INA3221Driver)(nil) @@ -170,11 +171,11 @@ func TestINA3221DriverGetLoadVoltageReadError(t *testing.T) { func TestINA3221DriverName(t *testing.T) { d := initTestINA3221Driver() - gobottest.Assert(t, strings.HasPrefix(d.Name(),"INA3221"), true) + gobottest.Assert(t, strings.HasPrefix(d.Name(), "INA3221"), true) } func TestINA3221DriverSetName(t *testing.T) { d := initTestINA3221Driver() d.SetName("foobot") gobottest.Assert(t, d.Name(), "foobot") -} \ No newline at end of file +}