From: Adam Wolfe Gordon Date: Sun, 6 May 2012 14:56:15 +0000 (-0600) Subject: test: Force reply to use html2text for consistency X-Git-Tag: 0.13_rc1~7 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=97efed0f0854c2231625057738c1c2db7b37c139;p=obsolete%2Fnotmuch-old test: Force reply to use html2text for consistency The output of the HTML reply test in the emacs suite can vary depending on which HTML renderers are installed on the machine running the tests. The renderer that is always available is emacs's builtin html2text function. In order to get consistency, force the test to use html2text even if other renderers are available. --- diff --git a/test/emacs b/test/emacs index a615b398..e9f954c3 100755 --- a/test/emacs +++ b/test/emacs @@ -447,7 +447,7 @@ test_expect_equal_file OUTPUT EXPECTED test_begin_subtest "Reply within emacs to an html-only message" add_message '[content-type]="text/html"' \ '[body]="Hi,
This is an HTML test message.

OK?"' -test_emacs "(let ((message-hidden-headers '())) +test_emacs "(let ((message-hidden-headers '()) (mm-text-html-renderer 'html2text)) (notmuch-show \"id:${gen_msg_id}\") (notmuch-show-reply) (test-output))" @@ -463,10 +463,7 @@ User-Agent: Notmuch/XXX Emacs/XXX --text follows this line-- Notmuch Test Suite writes: -> Hi, -> This is an HTML test message. -> -> OK? +> Hi,This is an HTML test message.OK? EOF test_expect_equal_file OUTPUT EXPECTED