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.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/chksum/chksum_test.go b/chksum/chksum_test.go
new file mode 100644
index 0000000..0364686
--- /dev/null
+++ b/chksum/chksum_test.go
@@ -0,0 +1,16 @@
+package chksum
+
+import "testing"
+
+func TestParseFile(t *testing.T) {
+ testCases := []struct {
+ file string
+ }{
+ {"testdata/SUM"},
+ }
+ for _, tc := range testCases {
+ t.Run(tc.file, func(t *testing.T) {
+ ParseFile(tc.file)
+ })
+ }
+}