From f66b672128262025afa474e4a86f62ca066d4862 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 15 Jun 2025 17:12:34 -0300 Subject: [PATCH] test/emacs: known broken test for excludes and notmuch-hello One of the places notmuch-search is called did not get the new 'hide-excluded' argument. --- test/T461-emacs-search-exclude.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/T461-emacs-search-exclude.sh b/test/T461-emacs-search-exclude.sh index 821dd49f..5aa13370 100755 --- a/test/T461-emacs-search-exclude.sh +++ b/test/T461-emacs-search-exclude.sh @@ -36,6 +36,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)) -- 2.45.2