go-common/app/job/main/figure/conf/conf_test.go

18 lines
188 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package conf
import (
"flag"
"testing"
)
func TestInit(t *testing.T) {
flag.Parse()
var err error
if err = Init(); err != nil {
t.Fatal(err)
}
if Conf == nil {
t.Fatal()
}
}