Commit 0ae9ebfd authored by Lingxi-Li's avatar Lingxi-Li

Cleanup `actor_factory` test code

parent b34a22f7
......@@ -62,22 +62,13 @@ struct fixture {
};
struct test_actor_no_args : event_based_actor {
test_actor_no_args(actor_config& conf) : event_based_actor(conf) {
// nop
}
behavior make_behavior() override {
return {};
}
using event_based_actor::event_based_actor;
};
struct test_actor_one_arg : event_based_actor {
test_actor_one_arg(actor_config& conf, int value) : event_based_actor(conf) {
CAF_CHECK_EQUAL(value, 42);
}
behavior make_behavior() override {
return {};
}
};
} // namespace <anonymous>
......
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