1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00
birdwatcher/config_test.go

18 lines
291 B
Go
Raw Permalink Normal View History

package main
import (
"testing"
)
func TestLoadConfigs(t *testing.T) {
t.Log("Loading configs")
res, err := LoadConfigs([]string{
2018-07-20 15:08:34 +02:00
"./etc/birdwatcher/birdwatcher.conf",
"/etc/birdwatcher/birdwatcher.conf",
"./etc/birdwatcher/birdwatcher.local.conf",
})
t.Log(res)
t.Log(err)
}