From 61ee19336b5db2aee66cf7d7567da758a4e5a858 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 18 Jun 2021 16:22:04 +0100 Subject: [PATCH] [Minor] Add one more case --- test/functional/messages/zerofont.eml | 2 ++ test/rspamd_cxx_unit_utils.hxx | 1 + 2 files changed, 3 insertions(+) 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"}, }; -- 2.39.5