mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
19 lines
295 B
Go
19 lines
295 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// Test configuration loading and parsing
|
|
// using the default config
|
|
|
|
func TestLoadConfigs(t *testing.T) {
|
|
|
|
config, err := loadConfigs("../etc/alicelg/alice.conf", "", "")
|
|
if err != nil {
|
|
t.Error("Could not load test config:", err)
|
|
}
|
|
|
|
t.Log(config)
|
|
}
|