diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-12-06 22:05:57 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-12-06 22:19:58 +0100 |
commit | bed5af1ea323a3b20ef505a05ccc69afaa9b645d (patch) | |
tree | 2340edf7df2460b1d34f423fee112d996cb12c17 /test/lisp/mail | |
parent | e637afce45e9a982e284d344a35b523d74d88010 (diff) | |
download | emacs-bed5af1ea323a3b20ef505a05ccc69afaa9b645d.tar.gz emacs-bed5af1ea323a3b20ef505a05ccc69afaa9b645d.tar.bz2 emacs-bed5af1ea323a3b20ef505a05ccc69afaa9b645d.zip |
Silence byte-compiler in two tests
* test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el:
* test/lisp/mail/mail-utils-tests.el
(mail-utils-tests-mail-rfc822-time-zone): Silence byte-compiler.
Diffstat (limited to 'test/lisp/mail')
-rw-r--r-- | test/lisp/mail/mail-utils-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/mail/mail-utils-tests.el b/test/lisp/mail/mail-utils-tests.el index 5b54f2440c7..f75de5c620c 100644 --- a/test/lisp/mail/mail-utils-tests.el +++ b/test/lisp/mail/mail-utils-tests.el @@ -85,7 +85,8 @@ "foo@example.org\\|bar@example.org\\|baz@example.org"))) (ert-deftest mail-utils-tests-mail-rfc822-time-zone () - (should (stringp (mail-rfc822-time-zone (current-time))))) + (with-suppressed-warnings ((obsolete mail-rfc822-time-zone)) + (should (stringp (mail-rfc822-time-zone (current-time)))))) (ert-deftest mail-utils-test-mail-rfc822-date/contains-year () (should (string-match (rx " 20" digit digit " ") |