aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2025-06-15 17:12:34 -0300
committerDavid Bremner <david@tethera.net>2026-01-15 07:29:14 +0900
commit7d2d899058ac41b97879974847a79d542e5e91b3 (patch)
tree7a73b2cc2e8c7b716fdb2d6144182fecdc19694f /test
parent8f9e16f2b9a46bef2c7398a27ff29db7bb23ee8d (diff)
One of the places notmuch-search is called did not get the new
'hide-excluded' argument.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T461-emacs-search-exclude.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/T461-emacs-search-exclude.sh b/test/T461-emacs-search-exclude.sh
index 47f74682..821dd49f 100755
--- a/test/T461-emacs-search-exclude.sh
+++ b/test/T461-emacs-search-exclude.sh
@@ -23,6 +23,19 @@ test_emacs '(notmuch-hello)
(delete-other-windows)'
test_expect_equal_file $EXPECTED/notmuch-search-tag-inbox-without-excluded OUTPUT
+test_begin_subtest "Search from search box doesn't contain excluded mail by default"
+test_subtest_known_broken
+test_emacs '(notmuch-hello)
+ (goto-char (point-min))
+ (re-search-forward "Search:")
+ (forward-char 1)
+ (insert "tag:inbox")
+ (widget-field-activate (point))
+ (notmuch-test-wait)
+ (test-output)
+ (delete-other-windows)'
+test_expect_equal_file $EXPECTED/notmuch-search-tag-inbox-without-excluded OUTPUT
+
test_begin_subtest "Toggling exclude in search will show excluded mail"
test_emacs '(notmuch-hello)
(goto-char (point-min))