commit b8e108b: [Minor] Add one more test

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jul 23 08:14:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-23 09:08:19 +0100
URL: https://github.com/rspamd/rspamd/commit/b8e108bc9cfcb78264bd7059d15a7a80b89a6efb (HEAD -> master)

[Minor] Add one more test

---
 test/lua/unit/quoted_printable.lua | 5 +++++
 1 file changed, 5 insertions(+)

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()


More information about the Commits mailing list