intimate/config_test.go

13 lines
230 B
Go
Raw Permalink Normal View History

2020-07-07 10:39:24 +00:00
package intimate
import "testing"
func TestConfig(t *testing.T) {
config := &Config{}
config.Load()
2020-07-10 04:05:33 +00:00
if config.Database.SourceURI != "root:@tcp(127.0.0.1:4000)/intimate_source" {
t.Error("error yaml loaded, ", config)
}
}