From 2404b80b04feb8e1cd04fd636a22d2a4d96e5c5b Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 13 Nov 2014 23:24:27 +0100 Subject: [PATCH] Fix MessageTest now that we preserve line breaks in headers --- tests/src/com/fsck/k9/mail/MessageTest.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/src/com/fsck/k9/mail/MessageTest.java b/tests/src/com/fsck/k9/mail/MessageTest.java index 3e56b228d..8a7e135b8 100644 --- a/tests/src/com/fsck/k9/mail/MessageTest.java +++ b/tests/src/com/fsck/k9/mail/MessageTest.java @@ -191,7 +191,8 @@ public class MessageTest extends AndroidTestCase { + "Content-Transfer-Encoding: 7bit\r\n" + "\r\n" + "------Boundary102\r\n" - + "Content-Type: text/plain; charset=utf-8\r\n" + + "Content-Type: text/plain;\r\n" + + " charset=utf-8\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n" + "\r\n" + "Testing=2E\r\n" @@ -200,7 +201,8 @@ public class MessageTest extends AndroidTestCase { + "End of test=2E\r\n" + "\r\n" + "------Boundary102\r\n" - + "Content-Type: text/plain; charset=utf-8\r\n" + + "Content-Type: text/plain;\r\n" + + " charset=utf-8\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n" + "\r\n" + "Testing=2E\r\n" @@ -228,7 +230,8 @@ public class MessageTest extends AndroidTestCase { + "Content-Transfer-Encoding: 7bit\r\n" + "\r\n" + "------Boundary101\r\n" - + "Content-Type: text/plain; charset=utf-8\r\n" + + "Content-Type: text/plain;\r\n" + + " charset=utf-8\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n" + "\r\n" + "Testing=2E\r\n" @@ -237,7 +240,8 @@ public class MessageTest extends AndroidTestCase { + "End of test=2E\r\n" + "\r\n" + "------Boundary101\r\n" - + "Content-Type: text/plain; charset=utf-8\r\n" + + "Content-Type: text/plain;\r\n" + + " charset=utf-8\r\n" + "Content-Transfer-Encoding: quoted-printable\r\n" + "\r\n" + "Testing=2E\r\n"