aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/email.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/email.scm b/tests/email.scm
index 1346b20..ca0ebc3 100644
--- a/tests/email.scm
+++ b/tests/email.scm
@@ -351,4 +351,10 @@ body" "iso-8859-1"))
(content-transfer-encoding . 7bit)
(subject . "Foo Bãr")))
+(test-equal "tolerate decoding errors in MIME encoded words"
+ ((module-ref (resolve-module '(email email))
+ 'decode-mime-encoded-word)
+ "=?UTF-8?Q?B=E8r?=")
+ "B�r")
+
(test-end "email")