summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-core-command.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-21 22:08:02 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-23 21:49:53 +0200
commitf3e1da894b1e1c3a6ec729613bfa697f1a497ecb (patch)
tree5e78526b3a9a6bbee72cec3f05c632643f64d434 /tests/unit/core/test-core-command.cpp
parenteb7435f8b9e2bf29e5a23736a122b6713d3cf6d3 (diff)
downloadweechat-f3e1da894b1e1c3a6ec729613bfa697f1a497ecb.zip
tests: check tags in messages displayed by IRC plugin
Diffstat (limited to 'tests/unit/core/test-core-command.cpp')
-rw-r--r--tests/unit/core/test-core-command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/core/test-core-command.cpp b/tests/unit/core/test-core-command.cpp
index a8f7de1a2..b417a23a0 100644
--- a/tests/unit/core/test-core-command.cpp
+++ b/tests/unit/core/test-core-command.cpp
@@ -43,7 +43,7 @@ extern "C"
command_record ("core.weechat", __command);
#define WEE_CHECK_MSG_BUFFER(__buffer_name, __prefix, __message) \
- if (record_search (__buffer_name, __prefix, __message) < 0) \
+ if (record_search (__buffer_name, __prefix, __message, NULL) < 0) \
{ \
char **msg = command_build_error (__buffer_name, __prefix, \
__message); \
@@ -54,7 +54,7 @@ extern "C"
#define WEE_CHECK_MSG_CORE(__prefix, __message) \
WEE_CHECK_MSG_BUFFER("core.weechat", __prefix, __message);
#define WEE_SEARCH_MSG_CORE(__prefix, __message) \
- record_search ("core.weechat", __prefix, __message)
+ record_search ("core.weechat", __prefix, __message, NULL)
TEST_GROUP(CoreCommand)