aboutsummaryrefslogblamecommitdiffstats
path: root/reader/reader_test.go
blob: 44c2a5682a8509ca25872c504a92ba6d5d3f556f (plain) (tree)
1
2
3
4
5
6
7
8
9

              


                 

                                

                                                                           



                                                                                            
package reader

import (
	"testing"
)

func TestReadDML(t *testing.T) {
	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)
	}
}