aboutsummaryrefslogtreecommitdiff
path: root/test/crypto
diff options
context:
space:
mode:
authorAustin Clements <amdragon@MIT.EDU>2012-02-04 16:24:26 -0500
committerDavid Bremner <bremner@debian.org>2012-02-12 11:58:20 -0500
commitc0cd09041208abb6d641279c9ae453e6f2fdf4db (patch)
treeca61ccbba76eba73794c534521e621f64b5a127f /test/crypto
parent85fe286b85bda6cddf509308b967f13f44f01331 (diff)
show: Simplify new text formatter code
This makes the text formatter take advantage of the new code structure. The previously duplicated header logic is now unified, several things that we used to compute repeatedly across different callbacks are now computed once, and the code is simpler overall and 32% shorter. Unifying the header logic causes this to format some dates slightly differently, so the two affected test cases are updated.
Diffstat (limited to 'test/crypto')
-rwxr-xr-xtest/crypto2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crypto b/test/crypto
index 446a58b..1dbb60a 100755
--- a/test/crypto
+++ b/test/crypto
@@ -159,7 +159,7 @@ Notmuch Test Suite <test_suite@notmuchmail.org> (2000-01-01) (encrypted inbox)
Subject: test encrypted message 001
From: Notmuch Test Suite <test_suite@notmuchmail.org>
To: test_suite@notmuchmail.org
-Date: 01 Jan 2000 12:00:00 -0000
+Date: Sat, 01 Jan 2000 12:00:00 +0000
header}
body{
part{ ID: 1, Content-type: multipart/encrypted