aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-02-17 21:24:58 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-02-17 21:24:58 +0000
commitb3e1ff9e769e62977a3876de339a7319f2b27a4b (patch)
tree3121df7d2ecd02546733d2441f8d32663f6b47d2 /test
parentd23dfcf2cd1fdec36e51268718f2e7b198900992 (diff)
downloadrspamd-b3e1ff9e769e62977a3876de339a7319f2b27a4b.tar.gz
rspamd-b3e1ff9e769e62977a3876de339a7319f2b27a4b.zip
[Test] Add a test case
Issue: #4081
Diffstat (limited to 'test')
-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 d83af5010..c85315379 100644
--- a/test/rspamd_cxx_unit_utils.hxx
+++ b/test/rspamd_cxx_unit_utils.hxx
@@ -44,6 +44,7 @@ TEST_CASE("rspamd_strip_smtp_comments_inplace")
{"ab(trol\\\1lo)c(foo)", "abc"},
{"\\ab(trol\\\1lo)c(foo)", "abc"},
{"", ""},
+ {"<test_id@example.net> (added by postmaster@example.net)", "<test_id@example.net> "}
};
for (const auto &c : cases) {