aboutsummaryrefslogtreecommitdiff
path: root/test/T200-thread-naming.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-05-27 13:51:16 -0300
committerDavid Bremner <david@tethera.net>2017-05-30 09:02:51 -0300
commit51cf6dbab220ca0f7c9f7472280adf02189ba437 (patch)
treee309c2660aaf56854175f623687c38b9407ff9f1 /test/T200-thread-naming.sh
parent233092577cdcb86e3e38374a50a3a26c05474126 (diff)
test/thread-naming: remove excess escaping from sender address.
This is another case where the behaviour of gmime-2.6 and gmime-3.0 seems to differ. It may be that we prefer the more lax parsing of the previous version, but that should be tested separately.
Diffstat (limited to 'test/T200-thread-naming.sh')
-rwxr-xr-xtest/T200-thread-naming.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/T200-thread-naming.sh b/test/T200-thread-naming.sh
index 132c1d77..2167ba8e 100755
--- a/test/T200-thread-naming.sh
+++ b/test/T200-thread-naming.sh
@@ -66,11 +66,11 @@ test_expect_equal "$output" "thread:XXX 2001-01-12 [6/8] Notmuch Test Suite; t
test_begin_subtest "Use empty subjects if necessary."
add_message '[subject]="@FORCE_EMPTY"' \
'[date]="Sat, 13 Jan 2001 15:43:45 -0000"' \
- '[from]="Empty Sender \<empty_test@notmuchmail.org\>"'
+ '[from]="Empty Sender <empty_test@notmuchmail.org>"'
empty_parent=${gen_msg_id}
add_message '[subject]="@FORCE_EMPTY"' \
'[date]="Sun, 14 Jan 2001 15:43:45 -0000"' \
- '[from]="Empty Sender \<empty_test@notmuchmail.org\>"' \
+ '[from]="Empty Sender <empty_test@notmuchmail.org>"' \
"[in-reply-to]=\<$empty_parent\>"
output=$(notmuch search --sort=newest-first from:empty_test@notmuchmail.org | notmuch_search_sanitize)
test_expect_equal "$output" "thread:XXX 2001-01-14 [2/2] Empty Sender; (inbox unread)"
@@ -78,15 +78,15 @@ test_expect_equal "$output" "thread:XXX 2001-01-14 [2/2] Empty Sender; (inbox
test_begin_subtest "Avoid empty subjects if possible (newest-first)."
add_message '[subject]="Non-empty subject (1)"' \
'[date]="Mon, 15 Jan 2001 15:43:45 -0000"' \
- '[from]="Empty Sender \<empty_test@notmuchmail.org\>"' \
+ '[from]="Empty Sender <empty_test@notmuchmail.org>"' \
"[in-reply-to]=\<$empty_parent\>"
add_message '[subject]="Non-empty subject (2)"' \
'[date]="Mon, 16 Jan 2001 15:43:45 -0000"' \
- '[from]="Empty Sender \<empty_test@notmuchmail.org\>"' \
+ '[from]="Empty Sender <empty_test@notmuchmail.org>"' \
"[in-reply-to]=\<$empty_parent\>"
add_message '[subject]="@FORCE_EMPTY"' \
'[date]="Tue, 17 Jan 2001 15:43:45 -0000"' \
- '[from]="Empty Sender \<empty_test@notmuchmail.org\>"' \
+ '[from]="Empty Sender <empty_test@notmuchmail.org>"' \
"[in-reply-to]=\<$empty_parent\>"
output=$(notmuch search --sort=newest-first from:Empty | notmuch_search_sanitize)
test_expect_equal "$output" "thread:XXX 2001-01-17 [5/5] Empty Sender; Non-empty subject (2) (inbox unread)"