mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
17 lines
271 B
Go
17 lines
271 B
Go
package config
|
|
|
|
import (
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
"testing"
|
|
)
|
|
|
|
func TestInitConfig(t *testing.T) {
|
|
Convey("Test InitConfig func", t, func() {
|
|
x := InitConfig("")
|
|
|
|
Convey("The value should be nil", func() {
|
|
So(x, ShouldEqual, nil)
|
|
})
|
|
})
|
|
}
|