diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-12 09:06:59 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-12 09:06:59 +0000 |
commit | a1aae604cf128826ec7a5485c197c05528edc800 (patch) | |
tree | dffa4410a6202a520fb5afcc1b94fdcf316cd29e /reader/reader_test.go | |
parent | 6e4a1c902f58e0a057fd23ab2276115f6d3a8f46 (diff) |
first passing test after parsing XLSX data into decent data structure
Diffstat (limited to '')
-rw-r--r-- | reader/reader_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index 63d9a3e..6f768b5 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -103,5 +103,7 @@ func TestGetSheetsFromDM(t *testing.T) { func TestReadXLSXToMap(t *testing.T) { d := ReadXLSToMap("testdata/datamap.csv", "testdata/test_template.xlsx") - _ = d + if d["Summary"]["A2"].value != "Date:" { + t.Errorf("Expected A2 in Summary sheet to be 'Date:' - instead it is %s", d["Summary"]["A2"].value) + } } |