Commit 757fcca4 authored by Dominik Charousset's avatar Dominik Charousset

Fail expect clauses more strictly

parent a795ff9c
......@@ -332,7 +332,7 @@ public:
auto ptr = next_mailbox_element(dest_);
CAF_REQUIRE(ptr != nullptr);
if (src_)
CAF_CHECK_EQUAL(ptr->sender, src_);
CAF_REQUIRE_EQUAL(ptr->sender, src_);
return *this;
}
......@@ -353,7 +353,7 @@ public:
elementwise_compare_inspector<decltype(tmp)> inspector{tmp};
auto ys = extract<Ts...>(dest_);
auto ys_indices = get_indices(ys);
CAF_CHECK(apply_args(inspector, ys_indices, ys));
CAF_REQUIRE(apply_args(inspector, ys_indices, ys));
};
}
......
Markdown is supported
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