aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/reader_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/datamaps/reader_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/datamaps/reader_test.go b/pkg/datamaps/reader_test.go
index be89e5f..35046cc 100644
--- a/pkg/datamaps/reader_test.go
+++ b/pkg/datamaps/reader_test.go
@@ -111,7 +111,9 @@ func TestDMLSliceFromDatabase(t *testing.T) {
t.Errorf("Unable to write datamap to database file because %v.", err)
}
data := DMLFromDB("First Datamap", db)
- t.Log(data)
+ if data[0].Key != "Project/Programme Name" {
+ t.Errorf("expected to see Project/Programme Name and got %q\n", data[0])
+ }
}
func TestExtract(t *testing.T) {