mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 16:11:02 +00:00
Merge branch 'astaxie/develop' into environmentVar
# Conflicts: # config/fake.go # config/xml/xml_test.go # config/yaml/yaml_test.go
This commit is contained in:
@ -99,7 +99,6 @@ func TestXML(t *testing.T) {
|
||||
if xmlconf.String("name") != "astaxie" {
|
||||
t.Fatal("get name error")
|
||||
}
|
||||
|
||||
if xmlconf.String("path") != os.Getenv("GOROOT") {
|
||||
t.Fatal("get path error")
|
||||
}
|
||||
@ -111,4 +110,7 @@ func TestXML(t *testing.T) {
|
||||
} else if strings.Contains(dbinfo["detail"], os.Getenv("GOROOT")) == false {
|
||||
t.Fatal("get goroot path error")
|
||||
}
|
||||
if xmlconf.Strings("emptystrings") != nil {
|
||||
t.Fatal("get emtpy strings error")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user