aboutsummaryrefslogtreecommitdiffstats
path: root/reader/reader_test.go
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-12-01 20:43:47 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-12-01 21:26:05 +0000
commit332aee4fa6c75e07337efaa44e2b4c8ec4348c65 (patch)
tree5af4e3f15a90450b74639a2ab2bb249fbe77bc07 /reader/reader_test.go
parent6eabf4b870e298354fa1c6ad6cfd5a47cb6efe07 (diff)
added test for basic glob of target directory
Diffstat (limited to 'reader/reader_test.go')
-rw-r--r--reader/reader_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go
index 25c1c2a..33eea2e 100644
--- a/reader/reader_test.go
+++ b/reader/reader_test.go
@@ -134,3 +134,11 @@ func TestExtract(t *testing.T) {
t.Errorf("Expected E26 in Another Sheet sheet to be Integer: - instead it is %s", d["Another Sheet"]["E26"].Value)
}
}
+
+func TestGetTargetFiles(t *testing.T) {
+ path := "/home/lemon/go/src/github.com/hammerheadlemon/datamaps-go/reader/testdata/"
+ _, err := GetTargetFiles(path)
+ if err != nil {
+ t.Error(err)
+ }
+}