blob: 44c2a5682a8509ca25872c504a92ba6d5d3f556f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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)
}
}
|