aboutsummaryrefslogtreecommitdiff
path: root/test/search-output
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2011-05-08 14:13:05 -0700
committerCarl Worth <cworth@cworth.org>2011-06-01 16:35:11 -0700
commitafdfa5674c84bbb8c0e546384e03a058d317b7a0 (patch)
tree266bef7c9d15a2bcbb15d0d4392d3c36887ee829 /test/search-output
parent7fdeb0fb630da0eac355f3c6538f01dba932c5e6 (diff)
test: remove json test for search null result, since it's being more properly tested in search-output
The test in json was inferior to the one in search-output, since it wasn't properly testing for the presence of a trailing newline.
Diffstat (limited to 'test/search-output')
-rwxr-xr-xtest/search-output4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/search-output b/test/search-output
index 8ba8acf..13f9613 100755
--- a/test/search-output
+++ b/test/search-output
@@ -311,9 +311,7 @@ test_expect_equal_file OUTPUT EXPECTED
test_begin_subtest "notmuch search --format=json for non-existent message prints proper empty json"
notmuch search --format=json "no-message-matches-this" > OUTPUT
-cat <<EOF >EXPECTED
-[]
-EOF
+echo "[]" >EXPECTED
test_expect_equal_file OUTPUT EXPECTED
test_done