Improve test coverage

This commit is contained in:
TwinProduction committed 2020-10-21 22:10:58 -04:00
1 parent 7dc200d887
commit 20515b5dd4
2 files changed
+20

No files matched your search

+7
View File
@@ -298,3 +298,10 @@ func TestLoadFileThatDoesNotExist(t *testing.T) {
t.Error("Should've returned an error, because the file specified doesn't exist")
}
}
func TestLoadDefaultConfigurationFile(t *testing.T) {
err := LoadDefaultConfiguration()
if err == nil {
t.Error("Should've returned an error, because there's no configuration files at the default path nor the default fallback path")
}
}