Skip to content

Commit

Permalink
Fix one test
Browse files Browse the repository at this point in the history
  • Loading branch information
randhid committed Mar 18, 2024
1 parent 13e978a commit bba8f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/motor/gpio/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func TestMotorABPWM(t *testing.T) {
on, powerPct, err = m.IsPowered(ctx, nil)
test.That(t, err, test.ShouldBeNil)
test.That(t, on, test.ShouldBeTrue)
test.That(t, powerPct, test.ShouldEqual, 0.44)
test.That(t, powerPct, test.ShouldEqual, -0.44)

test.That(t, m.SetPower(ctx, 0, nil), test.ShouldBeNil)
test.That(t, mustGetGPIOPinByName(b, "1").Get(context.Background()), test.ShouldEqual, false)
Expand Down

0 comments on commit bba8f7e

Please sign in to comment.