]> git.cworth.org Git - notmuch/commitdiff
test/emacs: known broken test for excludes and notmuch-hello
authorDavid Bremner <david@tethera.net>
Sun, 15 Jun 2025 20:12:34 +0000 (17:12 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 14 Jan 2026 22:50:04 +0000 (07:50 +0900)
One of the places notmuch-search is called did not get the new
'hide-excluded' argument.

test/T461-emacs-search-exclude.sh

index 821dd49fcab0e652c545fa58940f6420369192c0..5aa1337058f9e8c609e5778f927c4098c86bbbd9 100755 (executable)
@@ -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))