Skip to content

Commit

Permalink
Remove checkErrors
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Koch <[email protected]>
  • Loading branch information
hugelgupf committed Mar 25, 2024
1 parent fffefbb commit 1465ce6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions dmidecode/struct_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ import (
"github.com/u-root/smbios"
)

func checkError(got error, want error) bool {
if got != nil && want != nil {
if got.Error() == want.Error() {
return true
}
}

return errors.Is(got, want)
}

type UnknownTypes struct {
smbios.Table
SupportedField uint64
Expand Down

0 comments on commit 1465ce6

Please sign in to comment.