]> git.notmuchmail.org Git - notmuch/blobdiff - test/T460-emacs-tree.sh
emacs/mua: Correct autoload cookies
[notmuch] / test / T460-emacs-tree.sh
index 6ef5c54ab8579dfa7a22e2d04c71487fd2d3d352..4243f65af07d837d5d9b92e4870c6b8c7b04746b 100755 (executable)
@@ -222,7 +222,13 @@ test_emacs '(let ((notmuch-tree-outline-enabled t))
 # folding all messages by height or depth should look the same
 test_expect_equal_file $EXPECTED/notmuch-tree-tag-inbox OUTPUT
 
-test_done
+test_begin_subtest "notmuch-tree for message with subject with embedded CRNL"
+add_message "[subject]=\"=?UTF-8?B?8J+Pi++4jw==?= A SALE to boost your =?UTF-8?Q?workout=0D=0A?=\" [body]=the-message-body" 
+test_emacs "(notmuch-tree \"id:${gen_msg_id}\")
+           (notmuch-test-wait)
+           (test-output)"
+# one line of output, plus "End of search results."
+test_expect_equal "$(wc -l < OUTPUT)" 2
 
 add_email_corpus duplicate