From 36eaad64a5c8c48db9d9294f804949c87c98c48a Mon Sep 17 00:00:00 2001 From: hantmac Date: Tue, 27 Aug 2019 14:21:39 +0800 Subject: [PATCH] bug fix: fix test failed for config.go --- backend/config/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/config_test.go b/backend/config/config_test.go index ee966877..0068e6ad 100644 --- a/backend/config/config_test.go +++ b/backend/config/config_test.go @@ -7,7 +7,7 @@ import ( func TestInitConfig(t *testing.T) { Convey("Test InitConfig func", t, func() { - x := InitConfig("") + x := InitConfig("../conf/config.yml") Convey("The value should be nil", func() { So(x, ShouldEqual, nil)