diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-09-03 15:04:59 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-09-04 06:33:31 -0300 |
commit | 0d8a3cc7fd93c426a1c5691ebb7dcdfc66bf29d9 (patch) | |
tree | 840c2eb4b90c81fc6bed403b1ce66eada44cdb19 /contrib | |
parent | e8affaec064cb9fa0f2d8666c3401c1e9fb92abd (diff) |
contrib: pick: test: stash message id
This is important to test as lots of subsequent tests will fail if this fails.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/notmuch-pick/test/emacs-pick | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick index 91edcacb..68349985 100755 --- a/contrib/notmuch-pick/test/emacs-pick +++ b/contrib/notmuch-pick/test/emacs-pick @@ -159,4 +159,12 @@ test_emacs '(notmuch-hello) cp OUTPUT /tmp/mjwout test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-show-window +test_begin_subtest "Stash id" +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") + (require (quote notmuch-pick)) + (notmuch-pick "id:1258498485-sup-142@elly") + (notmuch-test-wait) + (notmuch-show-stash-message-id)') +test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\"" + test_done |