aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-23 09:08:19 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-23 09:08:19 +0100
commitb8e108bc9cfcb78264bd7059d15a7a80b89a6efb (patch)
treed6b2c5f49abf516d33efbafa9413e9c9eec7a718 /test/lua
parent2c189f98408aca3020d68b907af22942debf85a3 (diff)
downloadrspamd-b8e108bc9cfcb78264bd7059d15a7a80b89a6efb.tar.gz
rspamd-b8e108bc9cfcb78264bd7059d15a7a80b89a6efb.zip
[Minor] Add one more test
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/unit/quoted_printable.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lua/unit/quoted_printable.lua b/test/lua/unit/quoted_printable.lua
index 4756c632a..50d357ea0 100644
--- a/test/lua/unit/quoted_printable.lua
+++ b/test/lua/unit/quoted_printable.lua
@@ -73,6 +73,11 @@ context("Quoted-Printable encoding", function()
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=\r\nx=20',
'Exactly 77 chars of which the last one is a space'
},
+ {
+ 'fdafadsf\r\n-- • Test\r\n',
+ 'fdafadsf\r\n-- =E2=80=A2 Test\r\n',
+ 'Newlines',
+ },
}
for _,c in ipairs(cases) do
test("QP sanity test case: " .. c[3], function()