aboutsummaryrefslogtreecommitdiff
path: root/chksum/chksum_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'chksum/chksum_test.go')
-rw-r--r--chksum/chksum_test.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/chksum/chksum_test.go b/chksum/chksum_test.go
index 0364686..ebff6c1 100644
--- a/chksum/chksum_test.go
+++ b/chksum/chksum_test.go
@@ -10,7 +10,15 @@ func TestParseFile(t *testing.T) {
}
for _, tc := range testCases {
t.Run(tc.file, func(t *testing.T) {
- ParseFile(tc.file)
+ checkList, err := ParseFile(tc.file)
+ if err != nil {
+ t.Error(err)
+ }
+ for _, cs := range checkList {
+ if err := cs.Check(); err != nil {
+ t.Log(err)
+ }
+ }
})
}
}