fixed test code error

This commit is contained in:
ysqi 2016-01-27 21:13:11 +08:00
parent cd31c816cc
commit 484ca3a643
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}