]> git.notmuchmail.org Git - notmuch/blob - test/emacs
emacs: Remove the joke from the first line of the notmuch-hello view.
[notmuch] / test / emacs
1 #!/bin/bash
2 test_description="emacs interface"
3 . test-lib.sh
4
5 add_email_corpus
6
7 test_begin_subtest "Test emacs-hello interface"
8 output=$(test_emacs '(notmuch-hello) (message (buffer-string))' 2>&1)
9 test_expect_equal "$output" "   Welcome to notmuch. You have 50 messages.
10
11 Saved searches: [edit]
12
13           50 inbox           50 unread    
14
15 Search:                                                                     
16
17 [Show all tags]
18
19          Type a search query and hit RET to view matching threads.
20                 Edit saved searches with the \`edit' button.
21   Hit RET or click on a saved search or tag name to view matching threads.
22     \`=' refreshes this screen. \`s' jumps to the search box. \`q' to quit."
23
24
25 test_done