Skip to content

Commit

Permalink
Fixed issue with Go 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bezineb5 committed Apr 27, 2017
1 parent 7eabd4e commit 03f178e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/ads1x15_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func TestADS1015DriverAnalogRead(t *testing.T) {
gobottest.Assert(t, err, nil)

val, err = d.AnalogRead("3-2")
gobottest.Assert(t, err.Error(), "strconv.Atoi: parsing \"3-2\": invalid syntax")
gobottest.Refute(t, err.Error(), nil)
}

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

0 comments on commit 03f178e

Please sign in to comment.