diff options
Diffstat (limited to 'reader/reader_test.go')
-rw-r--r-- | reader/reader_test.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/reader/reader_test.go b/reader/reader_test.go index 1c249b5..44c2a56 100644 --- a/reader/reader_test.go +++ b/reader/reader_test.go @@ -1,9 +1,12 @@ package reader -import "testing" +import ( + "testing" +) func TestReadDML(t *testing.T) { - dmlData := *ReadDML("/home/lemon/Documents/datamaps/input/datamap.csv") + d, _ := ReadDML("/home/lemon/Documents/datamaps/input/datamap.csv") + dmlData := *d if dmlData[0].Key != "Project/Programme Name" { t.Errorf("dmlData[0].key = %s; want Project/Programme Name", dmlData[0].Key) } |