aboutsummaryrefslogtreecommitdiff
path: root/test/multipart
diff options
context:
space:
mode:
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-29 02:03:48 +0400
committerCarl Worth <cworth@cworth.org>2011-06-28 20:06:20 -0700
commitf74c4bc2f3ceedc6b6f3501c552df6c77fce9c00 (patch)
tree71a2ecb1aa2e91acc858b2211f5b2c669f781214 /test/multipart
parent1a27b33f20da46a6f5643782dea84d04b6615ef6 (diff)
test: fix tests after notmuch show output changes related to filenames
Adding the filename propery alongside ID and Content-type. This makes the test suite pass again after the recent change.
Diffstat (limited to 'test/multipart')
-rwxr-xr-xtest/multipart12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/multipart b/test/multipart
index 2da9afa..4d577f8 100755
--- a/test/multipart
+++ b/test/multipart
@@ -110,8 +110,7 @@ Date: Tue, 05 Jan 2001 15:43:57 -0000
Non-text part: text/html
part}
part}
- attachment{ ID: 5, Content-type: text/plain
-Attachment: attachment (text/plain)
+ attachment{ ID: 5, Filename: attachment, Content-type: text/plain
This is a text attachment.
attachment}
part{ ID: 6, Content-type: text/plain
@@ -148,8 +147,7 @@ Date: Tue, 05 Jan 2001 15:43:57 -0000
Non-text part: text/html
part}
part}
- attachment{ ID: 5, Content-type: text/plain
-Attachment: attachment (text/plain)
+ attachment{ ID: 5, Filename: attachment, Content-type: text/plain
This is a text attachment.
attachment}
part{ ID: 6, Content-type: text/plain
@@ -176,8 +174,7 @@ cat <<EOF >EXPECTED
Non-text part: text/html
part}
part}
- attachment{ ID: 5, Content-type: text/plain
-Attachment: attachment (text/plain)
+ attachment{ ID: 5, Filename: attachment, Content-type: text/plain
This is a text attachment.
attachment}
part{ ID: 6, Content-type: text/plain
@@ -212,8 +209,7 @@ test_expect_equal_file OUTPUT EXPECTED
test_begin_subtest "--format=text --part=5, inline attachment"
notmuch show --format=text --part=5 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT
cat <<EOF >EXPECTED
- attachment{ ID: 5, Content-type: text/plain
-Attachment: attachment (text/plain)
+ attachment{ ID: 5, Filename: attachment, Content-type: text/plain
This is a text attachment.
attachment}
EOF