Commit 3a523fc7 authored by Dominik Charousset's avatar Dominik Charousset

check result rather than print it

parent 4e9082f0
...@@ -445,10 +445,10 @@ size_t test__spawn() { ...@@ -445,10 +445,10 @@ size_t test__spawn() {
send(avec, atom("get")); send(avec, atom("get"));
send(avec, atom("EXIT"), exit_reason::user_defined); send(avec, atom("EXIT"), exit_reason::user_defined);
receive ( receive (
on_arg_match >> [](const std::vector<string>& vec) { on_arg_match >> [&](const std::vector<string>& vec) {
if (vec.size() == 2) if (vec.size() == 2)
{ {
cout << vec.front() << vec.back() << endl; CPPA_CHECK_EQUAL("hello world", vec.front() + vec.back());
} }
} }
); );
......
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