From dcda74a843a1198dc23a3f6a17572c2f6ba5de61 Mon Sep 17 00:00:00 2001 From: c_14 Date: Mon, 22 May 2017 23:56:12 +0200 Subject: [PATCH] add a test to test-scan-multibyte Tests for splitting within a multibyte character. --- test/tests/scan/test-scan-multibyte | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/test/tests/scan/test-scan-multibyte b/test/tests/scan/test-scan-multibyte index 0d843c3..a7a6356 100644 --- a/test/tests/scan/test-scan-multibyte +++ b/test/tests/scan/test-scan-multibyte @@ -10,6 +10,22 @@ export LC_ALL cat >"$MH_TEST_DIR/Mail/inbox/11" < +To: Baz +Subject: Subject Test Header + =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88?= + =?UTF-8?q?=E3=83=98=E3=83=BC=E3=83=87=E3=83=BC?= +Date: Mon, 15 May 2017 15:55:01 +0900 +Content-Transfer-Encoding: quoted-printable +Content-Type: text/plain; charset=UTF-8 +Message-Id: <20170515065506.03959103B49@example.org> + +This is a test email + +! + +cat >"$MH_TEST_DIR/Mail/inbox/12" < @@ -30,13 +46,22 @@ Bob ! -runandcheck "scan 11 +inbox" <