Mercurial > irccd
comparison tests/cmd-plugin-list/main.cpp @ 557:c729f06c6f27
Tests: convert cmd-rule-*, #593
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 25 Nov 2017 14:34:20 +0100 |
parents | 9b6b0d7d89c6 |
children |
comparison
equal
deleted
inserted
replaced
556:c9b703f923d0 | 557:c729f06c6f27 |
---|---|
40 BOOST_AUTO_TEST_CASE(basic) | 40 BOOST_AUTO_TEST_CASE(basic) |
41 { | 41 { |
42 auto response = nlohmann::json(); | 42 auto response = nlohmann::json(); |
43 | 43 |
44 ctl_->send({{"command", "plugin-list"}}); | 44 ctl_->send({{"command", "plugin-list"}}); |
45 ctl_->recv([&] (auto code, auto message) { | 45 ctl_->recv([&] (auto, auto message) { |
46 response = message; | 46 response = message; |
47 }); | 47 }); |
48 | 48 |
49 wait_for([&] () { | 49 wait_for([&] () { |
50 return response.is_object(); | 50 return response.is_object(); |