Mercurial > irccd
diff tests/src/rule-edit-command/main.cpp @ 595:029667d16d12
Tests: add multiple commands in command_test
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 06 Dec 2017 09:32:57 +0100 |
parents | a51b5dd5b761 |
children | 35832b7f4f9d |
line wrap: on
line diff
--- a/tests/src/rule-edit-command/main.cpp Tue Dec 05 16:31:35 2017 +0100 +++ b/tests/src/rule-edit-command/main.cpp Wed Dec 06 09:32:57 2017 +0100 @@ -30,11 +30,10 @@ namespace { -class rule_edit_test : public command_test<rule_edit_command> { +class rule_edit_test : public command_test<rule_edit_command, rule_info_command> { public: rule_edit_test() { - daemon_->commands().add(std::make_unique<rule_info_command>()); daemon_->rules().add(rule( { "s1", "s2" }, { "c1", "c2" },