From 484ca3a64384ec0c2db6ede320ee17b456b81111 Mon Sep 17 00:00:00 2001 From: ysqi Date: Wed, 27 Jan 2016 21:13:11 +0800 Subject: [PATCH] fixed test code error --- config/xml/xml_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/xml/xml_test.go b/config/xml/xml_test.go index 29db80e9..3bb62fbe 100644 --- a/config/xml/xml_test.go +++ b/config/xml/xml_test.go @@ -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") }