aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/db_test.go
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-07-22 21:01:54 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-07-22 21:01:54 +0100
commitd7d4d0a0476f98d1b0b4c5c454b6d1048a82bdad (patch)
tree11aaba3bab132e3f7d13f73c61d8b14739794f50 /pkg/datamaps/db_test.go
parentc3d4c6bb51a3d7b89e0fcbb69230db423577ae17 (diff)
more major surgery
Diffstat (limited to '')
-rw-r--r--pkg/datamaps/db_test.go (renamed from pkg/reader/db_test.go)6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/reader/db_test.go b/pkg/datamaps/db_test.go
index 5a96485..e9d5100 100644
--- a/pkg/reader/db_test.go
+++ b/pkg/datamaps/db_test.go
@@ -1,4 +1,4 @@
-package reader
+package datamaps
import (
"testing"
@@ -34,9 +34,9 @@ func TestDatamapGoesIntoDB(t *testing.T) {
if err != nil {
t.Fatal(err)
}
- opts := Opts{
+ opts := Options{
DBPath: "./testdata/test.db",
- Name: "First Datamap",
+ DMName: "First Datamap",
DMData: d,
}
err = DatamapToDB(opts)