diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-12 09:26:02 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-12 09:26:02 +0000 |
commit | 24988799639ac6f404b0eacde450b292219d1bc1 (patch) | |
tree | 8675069fa7b12894237b6ca0709f82ef0fac851d /reader/reader_test.go | |
parent | a48f4347b4f51bbb779a52b8ead5d77152752f91 (diff) |
added another test
Diffstat (limited to 'reader/reader_test.go')
-rw-r--r-- | reader/reader_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index 232e67d..f3a384e 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -106,8 +106,12 @@ 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? + // TODO we actually want this to return an float - 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) } + // TODO we actually want this to return an integer - do we? + if d["Another Sheet"]["J22"].Value != "18" { + t.Errorf("Expected J22 in Another Sheet sheet to be 18 - instead it is %s", d["Another Sheet"]["J22"].Value) + } } |