Skip to content

Commit 1465ce6

Browse files
committed
Remove checkErrors
Signed-off-by: Chris Koch <[email protected]>
1 parent fffefbb commit 1465ce6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

dmidecode/struct_parser_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ import (
1414
"github.com/u-root/smbios"
1515
)
1616

17-
func checkError(got error, want error) bool {
18-
if got != nil && want != nil {
19-
if got.Error() == want.Error() {
20-
return true
21-
}
22-
}
23-
24-
return errors.Is(got, want)
25-
}
26-
2717
type UnknownTypes struct {
2818
smbios.Table
2919
SupportedField uint64

0 commit comments

Comments
 (0)