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.
This commit is contained in:
parent
e637afce45
commit
bed5af1ea3
2 changed files with 3 additions and 1 deletions
|
@ -325,6 +325,7 @@
|
|||
())
|
||||
|
||||
(with-suppressed-warnings ((obsolete defmethod)
|
||||
(obsolete defgeneric)
|
||||
(obsolete next-method-p)
|
||||
(obsolete call-next-method))
|
||||
(defmethod initialize-instance :after ((_this eitest-Jb) &rest _slots)
|
||||
|
|
|
@ -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 " ")
|
||||
|
|
Loading…
Add table
Reference in a new issue