---
 test/emacs |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/test/emacs b/test/emacs
index f2983a7..ccf02af 100755
--- a/test/emacs
+++ b/test/emacs
@@ -141,4 +141,15 @@ first_line=$(echo "$expected" | head -n1)
 output=$(test_emacs '(notmuch-show 
"id:[email protected]") 
(notmuch-show-view-raw-message) (princ (buffer-string))' | sed -ne 
"/$first_line/,\$ p")
 test_expect_equal "$output" "$expected"
 
+test_begin_subtest "Hiding/showing signature in notmuch-show view"
+maildir_storage_thread=$(notmuch search --output=threads 
id:[email protected])
+output=$(test_emacs "(notmuch-show \"$maildir_storage_thread\")
+                    (search-forward \"Click/Enter to show.\")
+                    (button-activate (button-at (point)))
+                    (search-backward \"Click/Enter to hide.\")
+                    (button-activate (button-at (point)))
+                    (princ (buffer-string))")
+expected=$(cat $EXPECTED/notmuch-show-thread-maildir-storage)
+test_expect_equal "$output" "$expected"
+
 test_done
-- 
1.7.5.1

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to