diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-12 09:11:44 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-12 09:11:44 +0000 |
commit | 9e0ad33a35572e0166984c568689b0ce923b14df (patch) | |
tree | 590d474dd05c0b7e4f3791a23446af81d8bd39f9 /reader/reader_test.go | |
parent | a1aae604cf128826ec7a5485c197c05528edc800 (diff) |
added another test - but do we always want strings to be returned?
Diffstat (limited to 'reader/reader_test.go')
-rw-r--r-- | reader/reader_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index 6f768b5..c6e5a11 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -106,4 +106,8 @@ func TestReadXLSXToMap(t *testing.T) { if d["Summary"]["A2"].value != "Date:" { t.Errorf("Expected A2 in Summary sheet to be 'Date:' - instead it is %s", d["Summary"]["A2"].value) } + // TODO we actually want this to return an integer - do we? + if d["Another Sheet"]["F5"].value != "4.2" { + t.Errorf("Expected F5 in Another Sheet sheet to be 4.2 - instead it is %s", d["Another Sheet"]["F5"].value) + } } |