Mercurial > irccd
diff tests/src/plugins/hangman/main.cpp @ 847:a23b7b574ed2
irccd: rename [format] section to [templates], closes #1671
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Jul 2019 20:10:00 +0200 |
parents | 06cc2f95f479 |
children | 5e25439fe98d |
line wrap: on
line diff
--- a/tests/src/plugins/hangman/main.cpp Wed Jul 10 13:39:20 2019 +0200 +++ b/tests/src/plugins/hangman/main.cpp Wed Jul 10 20:10:00 2019 +0200 @@ -40,7 +40,7 @@ hangman_test() : js_plugin_fixture(PLUGIN_PATH) { - plugin_->set_formats({ + plugin_->set_templates({ { "asked", "asked=#{plugin}:#{command}:#{server}:#{channel}:#{origin}:#{nickname}:#{letter}" }, { "dead", "dead=#{plugin}:#{command}:#{server}:#{channel}:#{origin}:#{nickname}:#{word}" }, { "found", "found=#{plugin}:#{command}:#{server}:#{channel}:#{origin}:#{nickname}:#{word}" }, @@ -327,7 +327,7 @@ }; std::unordered_set<unsigned> found; - plugin_->set_formats({ + plugin_->set_templates({ { "start", "#{word}" } });