aboutsummaryrefslogtreecommitdiffstats
path: root/reader
diff options
context:
space:
mode:
Diffstat (limited to 'reader')
-rw-r--r--reader/reader_test.go3
-rw-r--r--reader/testdata/datamap.csv1
2 files changed, 4 insertions, 0 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go
index 833dd07..e6ac686 100644
--- a/reader/reader_test.go
+++ b/reader/reader_test.go
@@ -130,4 +130,7 @@ func TestExtract(t *testing.T) {
d[c.sheet][c.cellref].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 d1f3866..9bb71e2 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