diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-07-29 09:20:06 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-07-29 09:20:06 +0100 |
commit | 7a47e9fec3ad12ce95f17f275531cbdf69f2ebab (patch) | |
tree | 0d556a9c888c8a2e23b295783614c1d5bc8325a4 | |
parent | 0e04de97d5cdb72e16f5cc4afe49dfedf36a25bb (diff) |
removed short dir in testdata
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | pkg/datamaps/db_test.go | 2 | ||||
-rw-r--r-- | pkg/datamaps/reader_test.go | 2 | ||||
-rw-r--r-- | pkg/datamaps/testdata/datamap_matches_test_template.csv (renamed from pkg/datamaps/testdata/short/datamap_matches_test_template.csv) | 0 | ||||
-rw-r--r-- | pkg/datamaps/testdata/short/test_template.xlsm | bin | 9193 -> 0 bytes |
5 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ dummy-import: ./datamaps import --returnname "Hunkers" --datamapname "Tonk 1" --xlsxpath pkg/datamaps/testdata/ dummy-datamap-import: - ./datamaps datamap --datamapname "Tonk 1" --import pkg/datamaps/testdata/short/datamap_matches_test_template.csv + ./datamaps datamap --datamapname "Tonk 1" --import pkg/datamaps/testdata/datamap_matches_test_template.csv build: go build -o datamaps ./cmd/datamaps/main.go diff --git a/pkg/datamaps/db_test.go b/pkg/datamaps/db_test.go index 88fa640..ecf0f6c 100644 --- a/pkg/datamaps/db_test.go +++ b/pkg/datamaps/db_test.go @@ -14,7 +14,7 @@ var singleTarget string = "./testdata/test_template.xlsm" var opts = Options{ DBPath: "./testdata/test.db", DMName: "First Datamap", - DMPath: "./testdata/short/datamap_matches_test_template.csv", + DMPath: "./testdata/datamap_matches_test_template.csv", } func dbSetup() (*sql.DB, error) { diff --git a/pkg/datamaps/reader_test.go b/pkg/datamaps/reader_test.go index 1a11b0d..acecf8d 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/short/datamap_matches_test_template.csv", + DMPath: "./testdata/datamap_matches_test_template.csv", } if err := DatamapToDB(&opts); err != nil { diff --git a/pkg/datamaps/testdata/short/datamap_matches_test_template.csv b/pkg/datamaps/testdata/datamap_matches_test_template.csv index 9ff8c8c..9ff8c8c 100644 --- a/pkg/datamaps/testdata/short/datamap_matches_test_template.csv +++ b/pkg/datamaps/testdata/datamap_matches_test_template.csv diff --git a/pkg/datamaps/testdata/short/test_template.xlsm b/pkg/datamaps/testdata/short/test_template.xlsm Binary files differdeleted file mode 100644 index 77ac56f..0000000 --- a/pkg/datamaps/testdata/short/test_template.xlsm +++ /dev/null |