diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-21 22:08:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-23 21:49:53 +0200 |
commit | f3e1da894b1e1c3a6ec729613bfa697f1a497ecb (patch) | |
tree | 5e78526b3a9a6bbee72cec3f05c632643f64d434 /tests/unit/core/test-core-command.cpp | |
parent | eb7435f8b9e2bf29e5a23736a122b6713d3cf6d3 (diff) | |
download | weechat-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.cpp | 4 |
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) |