summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-01-13 17:39:53 +0100
committerStefan Kangas <stefan@marxist.se>2021-01-13 17:39:53 +0100
commitbe9b7e83bc4191aff01c692be0f7a156ec4056da (patch)
tree2c9352edbcb5ce2057759046132073d8da11593d /test/lisp/emacs-lisp
parent19b169c4e22abe5112d36ff4740f382409f6acdf (diff)
downloademacs-be9b7e83bc4191aff01c692be0f7a156ec4056da.tar.gz
emacs-be9b7e83bc4191aff01c692be0f7a156ec4056da.tar.bz2
emacs-be9b7e83bc4191aff01c692be0f7a156ec4056da.zip
Prefer skip-unless in more tests
* test/lisp/emacs-lisp/timer-tests.el (timer-tests-debug-timer-check): * test/src/decompress-tests.el (zlib--decompress): * test/src/xml-tests.el (libxml-tests): Prefer skip-unless.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r--test/lisp/emacs-lisp/timer-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/timer-tests.el b/test/lisp/emacs-lisp/timer-tests.el
index 74da33eff69..7856c217f9e 100644
--- a/test/lisp/emacs-lisp/timer-tests.el
+++ b/test/lisp/emacs-lisp/timer-tests.el
@@ -36,8 +36,8 @@
(ert-deftest timer-tests-debug-timer-check ()
;; This function exists only if --enable-checking.
- (if (fboundp 'debug-timer-check)
- (should (debug-timer-check)) t))
+ (skip-unless (fboundp 'debug-timer-check))
+ (should (debug-timer-check)))
(ert-deftest timer-test-multiple-of-time ()
(should (time-equal-p