mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-06-07 14:40:19 +08:00
test: add more tests (#1856)
This commit is contained in:
13
zrpc/resolver/register_test.go
Normal file
13
zrpc/resolver/register_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package resolver
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestRegister(t *testing.T) {
|
||||
assert.NotPanics(t, func() {
|
||||
Register()
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user