mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-11 00:40:00 +08:00
chore: add more tests (#2800)
This commit is contained in:
11
zrpc/resolver/internal/etcdbuilder_test.go
Normal file
11
zrpc/resolver/internal/etcdbuilder_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package internal
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestEtcdBuilder_Scheme(t *testing.T) {
|
||||
assert.Equal(t, EtcdScheme, new(etcdBuilder).Scheme())
|
||||
}
|
||||
Reference in New Issue
Block a user