From 014f82ef0c4407c1a4649384b7b5ea0809120d2b Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 18 Jun 2021 11:30:37 +0200 Subject: t/1000-mmime.t: add tests for recent changes --- t/1000-mmime.t | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/1000-mmime.t b/t/1000-mmime.t index 47ca63b..0408d32 100755 --- a/t/1000-mmime.t +++ b/t/1000-mmime.t @@ -1,7 +1,7 @@ #!/bin/sh -e cd ${0%/*} . ./lib.sh -plan 12 +plan 16 cat <tmp References: @@ -89,3 +89,29 @@ This part too. EOF check 'content-transfer-encoding is respected if found in input, for multipart/mixed' 'mmime tmp2 +From: Kerstin Krüger + +Body. +EOF + +check 'non-ASCII is encoded as UTF-8' 'mmime tmp2 +From: "Krüger, Kerstin" + +Body. +EOF + +check 'non-ASCII quoted-strings are encoded as one encoded-word' 'mmime tmp2 +From: "kerstin krueger"@example.com + +Body. +EOF + +check 'non-encoded quoted-strings are kept correctly' 'mmime