diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-28 11:15:40 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-28 11:15:40 +0000 |
commit | 6eabf4b870e298354fa1c6ad6cfd5a47cb6efe07 (patch) | |
tree | 6e93a6575807d229711fd1652dabacf78b9e06ea | |
parent | 1c97dc2be19988e9e58061d2d21f45a62b0e6ad6 (diff) |
fixed failing test after my extra test was added prior to merge
-rw-r--r-- | reader/reader_test.go | 2 | ||||
-rw-r--r-- | reader/testdata/datamap.csv | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index e6ac686..25c1c2a 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -88,7 +88,7 @@ func TestAlphas(t *testing.T) { func TestGetSheetsFromDM(t *testing.T) { slice, _ := ReadDML("testdata/datamap.csv") sheetNames := getSheetNames(slice) - if len(sheetNames) != 14 { + if len(sheetNames) != 15 { t.Errorf("The test expected 14 sheets in slice, got %d.", len(sheetNames)) } diff --git a/reader/testdata/datamap.csv b/reader/testdata/datamap.csv index 9bb71e2..d13bd27 100644 --- a/reader/testdata/datamap.csv +++ b/reader/testdata/datamap.csv @@ -1,8 +1,8 @@ cell_key,template_sheet,cellreference Project/Programme Name,Introduction,C11 Department ,Introduction,C9 -Stoogge value,Another Sheet,E26 Delivery Body ,Introduction,C10 +Stoogge value,Another Sheet,E26 DRRDD - IPA ID Number,Introduction,C12 Controls Project ID number,Introduction,C13 Jokey Entry,Introduction,A1 |