mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
bug fix: fix test failed for config.go
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user