chore: add more tests (#3014)

This commit is contained in:
Kevin Wan
2023-03-11 14:57:56 +08:00
committed by GitHub
parent 544aa7c432
commit f77e2c9cfa
6 changed files with 74 additions and 20 deletions

View File

@@ -12,6 +12,7 @@ func TestNewRpcPubServer(t *testing.T) {
s, err := NewRpcPubServer(discov.EtcdConf{
User: "user",
Pass: "pass",
ID: 10,
}, "", ServerMiddlewaresConf{})
assert.NoError(t, err)
assert.NotPanics(t, func() {