diff options
| -rw-r--r-- | benchmark/bench_actor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/bench_actor.cpp b/benchmark/bench_actor.cpp index f68a8d8e0..b3a04f592 100644 --- a/benchmark/bench_actor.cpp +++ b/benchmark/bench_actor.cpp @@ -260,6 +260,7 @@ class QueryBench final : public td::Benchmark { } else if (type == 4) { int val = 0; send_lambda(client_, [&] { val = n_ * n_; }); + CHECK(val == n_ * n_); } else if (type == 5) { send_closure(client_, &ClientActor::f_promise, td::PromiseCreator::lambda([actor_id = actor_id(this), n = n_](td::Unit) { |
