diff options
| author | David Bremner <david@tethera.net> | 2023-08-20 14:32:02 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-08-20 14:32:02 -0300 |
| commit | 1719b9e568fb944ffb91126b164a18a30a415d0a (patch) | |
| tree | 4b0f323bbf141a1fe2198a1bc1d746e73863b990 | |
| parent | b6f144abe1f5aa3519240cf52f4cb9907fefcd0e (diff) | |
test/emacs: adapt to breaking change in Gnus defaults
As of Emacs 29.1, In-Reply-To is in the default value for
message-hidden-headers. We actually want to see that in the test
suite, so remove it again. To future proof the tests, fix a default
value for message-hidden-headers specifically for the test suite.
| -rw-r--r-- | test/test-lib.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-lib.el b/test/test-lib.el index 79a9d4d6..236dd99e 100644 --- a/test/test-lib.el +++ b/test/test-lib.el @@ -205,3 +205,8 @@ running, quit if it terminated." ;; environments (setq mm-text-html-renderer 'html2text) + +;; Set our own default for message-hidden-headers, to avoid tests +;; breaking when the Emacs default changes. +(setq message-hidden-headers + '("^References:" "^Face:" "^X-Face:" "^X-Draft-From:")) |
