add tests for config

This commit is contained in:
Livio Amstutz
2020-03-23 16:31:26 +01:00
parent ecb894258f
commit 6deb0b029a
5 changed files with 214 additions and 23 deletions

3
internal/config/testdata/invalid.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"Test" : false
}

View File

@@ -0,0 +1 @@
Test

3
internal/config/testdata/valid.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"Test" : true
}