mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: fix "Stashing in notmuch-search" test when emacs is not available
If emacs is not available, test_expect_equal would be called with only one argument. The patch fixes this by quoting the (possibly empty) $(cat OUTPUT) argument.
This commit is contained in:
parent
5af65f65e8
commit
6cb61729d4
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ test_emacs '(notmuch-search "id:\"bought\"")
|
|||
(yank)
|
||||
(test-output)'
|
||||
sed -i -e 's/^thread:.*$/thread:XXX/' OUTPUT
|
||||
test_expect_equal $(cat OUTPUT) "thread:XXX"
|
||||
test_expect_equal "$(cat OUTPUT)" "thread:XXX"
|
||||
|
||||
test_begin_subtest 'Hiding message following HTML part'
|
||||
test_subtest_known_broken
|
||||
|
|
Loading…
Reference in a new issue