]> git.notmuchmail.org Git - notmuch/commit
test: Move a test from search to search-output, and add a similar json test
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 6 May 2011 18:57:16 +0000 (11:57 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 1 Jun 2011 23:31:52 +0000 (16:31 -0700)
commit7a453716c27f09063e0bda56b9ba1d6b2cdd17b5
tree74aa0602dbf41bdfe390afeee3a749f2e0eda9f9
parent049ac914f9041df54bfdbcb43f9356c4e74c1279
test: Move a test from search to search-output, and add a similar json test

The "Search for non-existent message prints nothing" test fits better
with the existing tests in search-output, so move it there. Also add a
similar test for the --format=json case.

These tests also use the new test_expect_equal_file function, (to ensure
that the presence of a trailing newline is correctly tested).
test/search
test/search-output