]> git.notmuchmail.org Git - notmuch/blobdiff - test/T220-reply.sh
cli/reply: return internet address list from get header funcs
[notmuch] / test / T220-reply.sh
index 30b78f679d97d82aa42d4817d93c654b5177cf7e..818a86541496c21adc6ceaf382df2af0e6f5f141 100755 (executable)
@@ -253,5 +253,17 @@ test_expect_equal_json "$output" '
     }
 }'
 
+test_begin_subtest "Reply to a message with multiple Cc headers"
+add_email_corpus broken
+output=$(notmuch reply id:multiple-cc@example.org)
+test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>
+Subject: Re: wowsers!
+To: Alice <alice@example.org>, Daniel <daniel@example.org>
+Cc: Bob <bob@example.org>, Charles <charles@example.org>
+In-Reply-To: <multiple-cc@example.org>
+References: <multiple-cc@example.org>
+
+On Thu, 16 Jun 2016 22:14:41 -0400, Alice <alice@example.org> wrote:
+> Note the Cc: and cc: headers."
 
 test_done