]> git.notmuchmail.org Git - notmuch/commitdiff
test/multipart: test for absence of "Non-text part:" lines in reply for multipart...
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 8 Jun 2011 19:30:06 +0000 (12:30 -0700)
committerDavid Bremner <bremner@debian.org>
Thu, 6 Oct 2011 13:12:28 +0000 (10:12 -0300)
There's no reason to output "Non-text part:" lines for parts that are
not leaf nodes, eg. multipart/* and message/rfc822.  We fix the text
here to test for their absence.  The next patch will fix reply
accordingly.

test/multipart

index 3d02322f5f46d591a9b50064da089a75900435c3..5fba00da9f4029c22558794a150824a5acb9893c 100755 (executable)
@@ -575,14 +575,11 @@ In-Reply-To: <87liy5ap00.fsf@yoom.home.cworth.org>
 References: <87liy5ap00.fsf@yoom.home.cworth.org>
 
 On Fri, 05 Jan 2001 15:43:57 +0000, Carl Worth <cworth@cworth.org> wrote:
-Non-text part: multipart/signed
-Non-text part: multipart/mixed
 > From: Carl Worth <cworth@cworth.org>
 > To: cworth@cworth.org
 > Subject: html message
 > Date: Fri, 05 Jan 2001 15:42:57 +0000
 >
-Non-text part: multipart/alternative
 Non-text part: text/html
 > This is an embedded message, with a multipart/alternative part.
 > This is a text attachment.