]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add one more test
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Jul 2019 08:08:19 +0000 (09:08 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Jul 2019 08:08:19 +0000 (09:08 +0100)
test/lua/unit/quoted_printable.lua

index 4756c632a07ca0740d588300775e11de42ba7b5d..50d357ea0e8b34055ebf2ca72cd3e9bbe3f4009e 100644 (file)
@@ -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()