diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-07-22 21:01:54 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-07-22 21:01:54 +0100 |
commit | d7d4d0a0476f98d1b0b4c5c454b6d1048a82bdad (patch) | |
tree | 11aaba3bab132e3f7d13f73c61d8b14739794f50 /pkg/datamaps/config_test.go | |
parent | c3d4c6bb51a3d7b89e0fcbb69230db423577ae17 (diff) |
more major surgery
Diffstat (limited to 'pkg/datamaps/config_test.go')
-rw-r--r-- | pkg/datamaps/config_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/datamaps/config_test.go b/pkg/datamaps/config_test.go new file mode 100644 index 0000000..6fb8cc4 --- /dev/null +++ b/pkg/datamaps/config_test.go @@ -0,0 +1,10 @@ +package datamaps + +import "testing" + +func Test_getUserConfigDir(t *testing.T) { + dir, _ := getUserConfigDir() + if dir != "/home/lemon/.config/datamaps-go" { + t.Errorf("Did not find the correct directory - found %s instead\n", dir) + } +} |