Files
crawlab/backend/config/config_test.go
2019-09-04 20:41:37 +08:00

17 lines
289 B
Go

package config
import (
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func TestInitConfig(t *testing.T) {
Convey("Test InitConfig func", t, func() {
x := InitConfig("../conf/config.yml")
Convey("The value should be nil", func() {
So(x, ShouldEqual, nil)
})
})
}