summaryrefslogtreecommitdiffstats
path: root/test/rspamd_cxx_unit_utils.hxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-18 16:22:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-18 20:35:24 +0100
commit61ee19336b5db2aee66cf7d7567da758a4e5a858 (patch)
treeca1cdc4290a3b3b92af2ff216564bec10f688fba /test/rspamd_cxx_unit_utils.hxx
parent64cbf85c850e5e48c6efc0785a0afbf059830773 (diff)
downloadrspamd-61ee19336b5db2aee66cf7d7567da758a4e5a858.tar.gz
rspamd-61ee19336b5db2aee66cf7d7567da758a4e5a858.zip
[Minor] Add one more case
Diffstat (limited to 'test/rspamd_cxx_unit_utils.hxx')
-rw-r--r--test/rspamd_cxx_unit_utils.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rspamd_cxx_unit_utils.hxx b/test/rspamd_cxx_unit_utils.hxx
index f9aa86a95..a65adab70 100644
--- a/test/rspamd_cxx_unit_utils.hxx
+++ b/test/rspamd_cxx_unit_utils.hxx
@@ -36,6 +36,7 @@ TEST_CASE("rspamd_strip_smtp_comments_inplace") {
{"abc(foo(bar))", "abc"},
{"(bar)abc(foo)", "abc"},
{"ab(ololo)c(foo)", "abc"},
+ {"ab(olo\\)lo)c(foo)", "abc"},
{"ab(trol\\\1lo)c(foo)", "abc"},
{"\\ab(trol\\\1lo)c(foo)", "abc"},
};