Skip to content

Commit

Permalink
revert pi test
Browse files Browse the repository at this point in the history
  • Loading branch information
martha-johnston committed Apr 24, 2024
1 parent ef4788b commit 23574fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/board/pi/impl/board_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func TestPiPigpio(t *testing.T) {

after, err := i1.Value(context.Background(), nil)
test.That(t, err, test.ShouldBeNil)
test.That(t, after, test.ShouldBeGreaterThan, before)
test.That(t, after-before, test.ShouldEqual, int64(1))

err = p.SetGPIOBcom(27, false)
test.That(t, err, test.ShouldBeNil)
Expand All @@ -135,7 +135,7 @@ func TestPiPigpio(t *testing.T) {

after, err = i2.Value(context.Background(), nil)
test.That(t, err, test.ShouldBeNil)
test.That(t, after, test.ShouldBeGreaterThan, before)
test.That(t, after-before, test.ShouldEqual, int64(1))

_, err = p.DigitalInterruptByName("11")
test.That(t, err, test.ShouldBeNil)
Expand Down

0 comments on commit 23574fb

Please sign in to comment.