V2bX/conf/conf_test.go
2023-07-29 18:47:47 +08:00

18 lines
262 B
Go

package conf
import (
"log"
"strings"
"testing"
)
func TestConf_LoadFromPath(t *testing.T) {
c := New()
t.Log(c.LoadFromPath("../example/config.yml.example"))
}
func TestConf_Watch(t *testing.T) {
//c := New()
log.Println(strings.Split("aaaa", " "))
}