aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/emacs
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-03-26 21:37:16 -0400
committerGravatar David Bremner <bremner@debian.org>2012-03-30 21:27:03 -0300
commitee1180018ee3c772d7ac769222ff9c6940f3c838 (patch)
tree65f4426bb2d71c453dbf26a1dfdaaf8fdccafc12 /test/emacs
parent5ae960fc192ca1a13469986b567abf98901103de (diff)
emacs: Escape all message ID queries
This adds a lib function to turn a message ID into a properly escaped message ID query and uses this function wherever we previously hand-constructed ID queries. Wherever this new function is used, documentation has been clarified to refer to "id: queries" instead of "message IDs". This fixes the broken test introduced by the previous patch.
Diffstat (limited to 'test/emacs')
-rwxr-xr-xtest/emacs1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/emacs b/test/emacs
index 62eaedba..8b92d0a9 100755
--- a/test/emacs
+++ b/test/emacs
@@ -140,7 +140,6 @@ output=$(notmuch search 'id:"123..456@example"' | notmuch_search_sanitize)
test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Message with .. in Message-Id (inbox search-add show-add)"
test_begin_subtest "Message with quote in Message-Id:"
-test_subtest_known_broken
add_message '[id]="\"quote\"@example"' '[subject]="Message with quote in Message-Id"'
test_emacs '(notmuch-search "subject:\"Message with quote\"")
(notmuch-test-wait)