aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/reader_test.go
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-07-28 07:29:08 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-07-28 07:29:08 +0100
commit79311f9f3d806b57168b7aba65235f2470555567 (patch)
treeab811ae5913707f5ffc12cbfcc5ffdb4462005a1 /pkg/datamaps/reader_test.go
parentdc2f030758be0ace3f382982b30cd58fa552a2cc (diff)
working on failing test where dm not work when sheets not sequential - added Makefile
Diffstat (limited to '')
-rw-r--r--pkg/datamaps/reader_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/datamaps/reader_test.go b/pkg/datamaps/reader_test.go
index 32e7f67..f784834 100644
--- a/pkg/datamaps/reader_test.go
+++ b/pkg/datamaps/reader_test.go
@@ -162,7 +162,7 @@ func TestExtractUsingDBDM(t *testing.T) {
opts := Options{
DBPath: "./testdata/test.db",
DMName: "First Datamap",
- DMPath: "./testdata/datamap.csv",
+ DMPath: "./testdata/short/datamap_matches_test_template.csv",
}
if err := DatamapToDB(&opts); err != nil {
@@ -182,7 +182,7 @@ func TestExtractUsingDBDM(t *testing.T) {
for _, c := range cases {
got := d[c.sheet][c.cellref].Value
if got != c.val {
- t.Errorf("The test expected %s in %s sheet to be %s "+
+ t.Errorf("test_template.xlsx: The test expected %s in %s sheet to be %s "+
"- instead it is %s.", c.sheet, c.cellref, c.val,
d[c.sheet][c.cellref].Value)
}