aboutsummaryrefslogtreecommitdiff
path: root/chksum/chksum_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-05-04 18:07:43 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-05-04 18:07:43 +0200
commit8c18992866cabc4e1d61fb39c0721017258de3a2 (patch)
treea4bd7b1812b7aeb2cf24aae69bc824a67c01a5b7 /chksum/chksum_test.go
parent64115c8f6af62fc244a1a60386b1a4e8a6c68cf3 (diff)
tests
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)
}
}
})