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.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/chksum/chksum_test.go b/chksum/chksum_test.go
index ebff6c1..9f14a5d 100644
--- a/chksum/chksum_test.go
+++ b/chksum/chksum_test.go
@@ -6,7 +6,10 @@ func TestParseFile(t *testing.T) {
testCases := []struct {
file string
}{
- {"testdata/SUM"},
+ {"testdata/MD5"},
+ {"testdata/SHA1"},
+ {"testdata/SHA256"},
+ {"testdata/SHA512"},
}
for _, tc := range testCases {
t.Run(tc.file, func(t *testing.T) {
@@ -16,7 +19,7 @@ func TestParseFile(t *testing.T) {
}
for _, cs := range checkList {
if err := cs.Check(); err != nil {
- t.Log(err)
+ t.Error(err)
}
}
})