Skip to content
Snippets Groups Projects
Commit c135a96e authored by 邹毅贤's avatar 邹毅贤
Browse files

fix case

parent 2f348934
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@ import (
"sync"
"testing"
"time"
"github.com/apache/dubbo-go/common"
)
import (
......@@ -65,7 +67,7 @@ func TestDubboInvoker_Invoke(t *testing.T) {
// AsyncCall
lock := sync.Mutex{}
lock.Lock()
inv.SetCallBack(func(response CallResponse) {
inv.SetCallBack(func(response common.CallResponse) {
assert.Equal(t, User{Id: "1", Name: "username"}, *response.Reply.(*Response).reply.(*User))
lock.Unlock()
})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment