fix test
This commit is contained in:
parent
0d84fb1913
commit
2df46131eb
@ -21,7 +21,7 @@ func TestCallWrapper(t *testing.T) {
|
|||||||
address := "10.1.10.1:8080"
|
address := "10.1.10.1:8080"
|
||||||
|
|
||||||
wrap := func(cf CallFunc) CallFunc {
|
wrap := func(cf CallFunc) CallFunc {
|
||||||
return func(ctx context.Context, addr string, req Request, rsp interface{}, opts ...CallOptions) error {
|
return func(ctx context.Context, addr string, req Request, rsp interface{}, opts CallOptions) error {
|
||||||
called = true
|
called = true
|
||||||
|
|
||||||
if req.Service() != service {
|
if req.Service() != service {
|
||||||
|
Loading…
Reference in New Issue
Block a user