mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
17 lines
270 B
Go
17 lines
270 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestLoadConfigs(t *testing.T) {
|
|
t.Log("Loading configs")
|
|
res, err := LoadConfigs([]string{
|
|
"./etc/ecix/birdwatcher.conf",
|
|
"/etc/ecix/birdwatcher.conf",
|
|
"./etc/ecix/birdwatcher.local.conf",
|
|
})
|
|
|
|
t.Log(res)
|
|
t.Log(err)
|
|
}
|