Skip to content

Commit

Permalink
Fix sysfs test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsexton committed Sep 9, 2024
1 parent 342cb00 commit 8cf3652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysfs/gpio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func TestPin_readInt(t *testing.T) {
}

func TestGPIODriver(t *testing.T) {
if len((&driverGPIO{}).Prerequisites()) != 0 {
if len((&driverGPIO{}).Prerequisites()) != 1 {
t.Fatal("unexpected GPIO prerequisites")
}
}
Expand Down

0 comments on commit 8cf3652

Please sign in to comment.