diff --git a/dmidecode/struct_parser_test.go b/dmidecode/struct_parser_test.go index f1939ac..2692e61 100644 --- a/dmidecode/struct_parser_test.go +++ b/dmidecode/struct_parser_test.go @@ -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