diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-09-02 21:15:14 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-09-03 06:14:40 -0300 |
commit | e1e7b6fd2e116a6adc679a8d909a8f163f556f3d (patch) | |
tree | 1ccd7f69d1bc7ce441c7eb79537f61be26f38bac /contrib | |
parent | 95ee9ed643add869f47940fccaad7b92bec4943f (diff) |
contrib: pick: test: refresh view
A recent proposed patch was buggy when refreshing the view. Add a test
for refresh so that this does not reoccur.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/notmuch-pick/test/emacs-pick | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick index eed5f021..37f974ad 100755 --- a/contrib/notmuch-pick/test/emacs-pick +++ b/contrib/notmuch-pick/test/emacs-pick @@ -23,6 +23,17 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (delete-other-windows)' test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox +test_begin_subtest "Refreshed notmuch-pick view in emacs" +test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") + (require (quote notmuch-pick)) + (notmuch-pick "tag:inbox") + (notmuch-test-wait) + (notmuch-pick-refresh-view) + (notmuch-test-wait) + (test-output) + (delete-other-windows)' +test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox + test_begin_subtest "Navigation of notmuch-hello to search results" test_emacs '(notmuch-hello) (goto-char (point-min)) |