fix a test error msg
This commit is contained in:
@ -263,7 +263,7 @@ func TestCloseWithPendingRPC(t *testing.T) {
|
|||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
var reply string
|
var reply string
|
||||||
if err := Invoke(context.Background(), "/foo/bar", &expectedRequest, &reply, cc); err == nil {
|
if err := Invoke(context.Background(), "/foo/bar", &expectedRequest, &reply, cc); err == nil {
|
||||||
t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want not", err)
|
t.Errorf("grpc.Invoke(_, _, _, _, _) = %v, want not nil", err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
go func() {
|
go func() {
|
||||||
|
Reference in New Issue
Block a user