aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-search.c
diff options
context:
space:
mode:
authorGravatar Michal Sojka <sojkam1@fel.cvut.cz>2010-11-01 17:15:39 +0100
committerGravatar Carl Worth <cworth@cworth.org>2010-11-04 12:34:33 -0700
commitc6b59ea3c656e31e4ed6942b5d7660895fca543a (patch)
tree535e23f1ead7d0134825cbedc8921d2c3d8288e0 /notmuch-search.c
parentdddd3b723d1c2f454d56c262a478817f8d896707 (diff)
test: Search for non-existent message should return nothing
My scripts expect that empty search result is actually empty. Since commit 6dcb7592, even empty search prints a newline character and this breaks my scripts. This patch adds a test for this bug. In the test I cannot use test_expect_equal function as $() operator suppresses the final newline and this kind of difference is not detected. test/search | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
Diffstat (limited to 'notmuch-search.c')
0 files changed, 0 insertions, 0 deletions