Skip to content

Commit

Permalink
clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
didiercrunch committed Aug 29, 2024
1 parent 79097ff commit 4abefc9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions allwinner/h6_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ func TestGetH6SerializedPinSpecs(t *testing.T) {
}

func TestGetH6SerializedPinSpecs_areRegistered(t *testing.T) {
if pins, err := getH6SerializedPinSpecs(); err != nil {
t.Error(err)
} else {
for _, pinSpec := range pins {
if _, ok := cpupins[pinSpec.Name]; !ok {
t.Error(pinSpec.Name)
}
pins, err := getH6SerializedPinSpecs()
if err != nil {
t.Fatal(err)
}
for _, pinSpec := range pins {
if _, ok := cpupins[pinSpec.Name]; !ok {
t.Error(pinSpec.Name)
}
}
}

0 comments on commit 4abefc9

Please sign in to comment.