X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Femacs;h=3bf2e29adc018e1b02e21aed3af478dbe0d5f8c9;hb=66247d26f364a6afbe113a5d6e84eec859b1193e;hp=75a0a7442f4b46921afa698f1bde9732e8482895;hpb=c832dad3224f627e528530102976b172048758ea;p=notmuch diff --git a/test/emacs b/test/emacs index 75a0a744..3bf2e29a 100755 --- a/test/emacs +++ b/test/emacs @@ -369,8 +369,18 @@ test_emacs '(notmuch-show "id:\"bought\"") (rotate-yank-pointer 1)) (reverse-region (point-min) (point-max)) (test-output)' -sed -i -e 's/^.*tmp.emacs\/mail.*$/FILENAME/' OUTPUT -test_expect_equal_file OUTPUT $EXPECTED/emacs-stashing +cat <EXPECTED +Sat, 01 Jan 2000 12:00:00 -0000 +Some One +Some One Else +Notmuch +Stash my stashables +id:"bought" +bought +inbox,stashtest +${gen_msg_filename} +EOF +test_expect_equal_file OUTPUT EXPECTED test_begin_subtest "Stashing in notmuch-search" test_emacs '(notmuch-search "id:\"bought\"")