Files
crawlab/backend/config/config_test.go
2019-08-27 14:21:39 +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)
})
})
}