add more tests for service (#463)

master
Kevin Wan 4 years ago committed by GitHub
parent 395a1db22f
commit 80e1c85b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,18 @@
package service
import (
"testing"
"github.com/tal-tech/go-zero/core/logx"
)
func TestServiceConf(t *testing.T) {
c := ServiceConf{
Name: "foo",
Log: logx.LogConf{
Mode: "console",
},
Mode: "dev",
}
c.MustSetUp()
}
Loading…
Cancel
Save