intimate/config_test.go

13 lines
220 B
Go
Raw Normal View History

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