Create & Init Project...
This commit is contained in:
16
app/service/main/ugcpay/conf/conf_test.go
Normal file
16
app/service/main/ugcpay/conf/conf_test.go
Normal file
@ -0,0 +1,16 @@
|
||||
package conf
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"testing"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
)
|
||||
|
||||
func TestConf(t *testing.T) {
|
||||
Convey("", t, func() {
|
||||
flag.Set("conf", "../cmd/test.toml")
|
||||
err := Init()
|
||||
So(err, ShouldBeNil)
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user