intimate/config_test.go
2020-07-10 12:05:33 +08:00

13 lines
230 B
Go

package intimate
import "testing"
func TestConfig(t *testing.T) {
config := &Config{}
config.Load()
if config.Database.SourceURI != "root:@tcp(127.0.0.1:4000)/intimate_source" {
t.Error("error yaml loaded, ", config)
}
}