mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
contrib: pick: test: stash message id
This is important to test as lots of subsequent tests will fail if this fails.
This commit is contained in:
parent
e8affaec06
commit
0d8a3cc7fd
1 changed files with 8 additions and 0 deletions
|
@ -159,4 +159,12 @@ test_emacs '(notmuch-hello)
|
||||||
cp OUTPUT /tmp/mjwout
|
cp OUTPUT /tmp/mjwout
|
||||||
test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-show-window
|
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
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue