diff --git a/balancer_test.go b/balancer_test.go index 976432f4..9d8d2bcd 100644 --- a/balancer_test.go +++ b/balancer_test.go @@ -263,7 +263,7 @@ func TestCloseWithPendingRPC(t *testing.T) { defer wg.Done() var reply string 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() {