diff options
Diffstat (limited to '')
-rw-r--r-- | reader/reader_test.go | 3 | ||||
-rw-r--r-- | reader/testdata/datamap.csv | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index 3096c1b..77c2133 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -104,4 +104,7 @@ func TestExtract(t *testing.T) { if d["Introduction"]["C9"].Value != "Test Department" { t.Errorf("Expected C9 in Introduction sheet to be Test Department - instead it is %s", d["Introduction"]["C9"].Value) } + if d["Another Sheet"]["E26"].Value != "Integer:" { + t.Errorf("Expected E26 in Another Sheet sheet to be Integer: - instead it is %s", d["Another Sheet"]["E26"].Value) + } } diff --git a/reader/testdata/datamap.csv b/reader/testdata/datamap.csv index d89db75..fbcaaf3 100644 --- a/reader/testdata/datamap.csv +++ b/reader/testdata/datamap.csv @@ -1,6 +1,7 @@ cell_key,template_sheet,cellreference Project/Programme Name,Introduction,C11 Department ,Introduction,C9 +Stoogge value,Another Sheet,E26 Delivery Body ,Introduction,C10 DRRDD - IPA ID Number,Introduction,C12 Controls Project ID number,Introduction,C13 |