[PATCH] Fix search output sanitization test.
Austin Clements
amdragon at MIT.EDU
Wed May 11 10:48:29 PDT 2011
Previously, the test assumed the generated message would be assigned a
specific thread ID; now it doesn't. Also, spelling fix.
---
This applies to the current 0.6 RC head (9f8ef78e).
test/search-output | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/search-output b/test/search-output
index 6b4c9a3..979a196 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.5.1
More information about the notmuch
mailing list