mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 10:30:55 +00:00
fixed test code error
This commit is contained in:
parent
cd31c816cc
commit
484ca3a643
@ -100,7 +100,7 @@ func TestXML(t *testing.T) {
|
||||
t.Fatal("get name error")
|
||||
}
|
||||
|
||||
if xmlconf.String("path") == os.Getenv("GOROOT") {
|
||||
if xmlconf.String("path") != os.Getenv("GOROOT") {
|
||||
t.Fatal("get path error")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user