aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/unit')
-rw-r--r--test/lua/unit/quoted_printable.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lua/unit/quoted_printable.lua b/test/lua/unit/quoted_printable.lua
index 29df0254d..5a03e0b3e 100644
--- a/test/lua/unit/quoted_printable.lua
+++ b/test/lua/unit/quoted_printable.lua
@@ -112,6 +112,16 @@ context("Quoted-Printable encoding", function()
'foo\r\nbar',
'Soft newline followed by hard newline (CRLF)',
},
+ {
+ '=gB',
+ '=gB',
+ 'Second character is okay, the first character is garbage'
+ },
+ {
+ '=bG',
+ '=bG',
+ 'First character okay, the second character is rubbish'
+ }
}
for _,c in ipairs(cases) do