[PATCH 18/25] Fix search output sanitization test.

Jameson Graef Rollins jrollins at finestructure.net
Sat May 28 14:51:53 PDT 2011


From: Austin Clements <amdragon at MIT.EDU>

Previously, the test assumed the generated message would be assigned a
specific thread ID; now it doesn't.  Also, spelling fix.

Signed-off-by: Jameson Graef Rollins <jrollins at finestructure.net>
---
 test/search-output |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/search-output b/test/search-output
index 02cf602..3c875cd 100755
--- a/test/search-output
+++ b/test/search-output
@@ -304,12 +304,12 @@ cat <<EOF >EXPECTED
 EOF
 test_expect_equal_file OUTPUT EXPECTED
 
-test_begin_subtest "santize output for quoted-printable line-breaks in author and subject"
+test_begin_subtest "sanitize output for quoted-printable line-breaks in author and subject"
 add_message "[subject]='two =?ISO-8859-1?Q?line=0A_subject?=
 	headers'"
-notmuch search id:"$gen_msg_id" >OUTPUT
+notmuch search id:"$gen_msg_id" | notmuch_search_sanitize >OUTPUT
 cat <<EOF >EXPECTED
-thread:000000000000001b   2001-01-05 [1/1] Notmuch Test Suite; two line? subject headers (inbox unread)
+thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; two line? subject headers (inbox unread)
 EOF
 test_expect_equal_file OUTPUT EXPECTED
 
-- 
1.7.4.4



More information about the notmuch mailing list