From: Vsevolod Stakhov Date: Fri, 18 Jun 2021 15:22:04 +0000 (+0100) Subject: [Minor] Add one more case X-Git-Tag: 3.0~278 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61ee19336b5db2aee66cf7d7567da758a4e5a858;p=rspamd.git [Minor] Add one more case --- diff --git a/test/functional/messages/zerofont.eml b/test/functional/messages/zerofont.eml index c5242d95d..06af493fa 100644 --- a/test/functional/messages/zerofont.eml +++ b/test/functional/messages/zerofont.eml @@ -14,5 +14,7 @@ Content-Type: text/html
file sharing
test url + +
foo
bar
ttt
ololo
baz
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"}, };