diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-01-13 17:39:53 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-01-13 17:39:53 +0100 |
commit | be9b7e83bc4191aff01c692be0f7a156ec4056da (patch) | |
tree | 2c9352edbcb5ce2057759046132073d8da11593d /test/src/xml-tests.el | |
parent | 19b169c4e22abe5112d36ff4740f382409f6acdf (diff) | |
download | emacs-be9b7e83bc4191aff01c692be0f7a156ec4056da.tar.gz |
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/src/xml-tests.el')
-rw-r--r-- | test/src/xml-tests.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/src/xml-tests.el b/test/src/xml-tests.el index 632cf965fa2..a35b4d2ccc8 100644 --- a/test/src/xml-tests.el +++ b/test/src/xml-tests.el @@ -44,12 +44,12 @@ (ert-deftest libxml-tests () "Test libxml." - (when (fboundp 'libxml-parse-xml-region) - (with-temp-buffer - (dolist (test libxml-tests--data-comments-preserved) - (erase-buffer) - (insert (car test)) - (should (equal (cdr test) - (libxml-parse-xml-region (point-min) (point-max)))))))) + (skip-unless (fboundp 'libxml-parse-xml-region)) + (with-temp-buffer + (dolist (test libxml-tests--data-comments-preserved) + (erase-buffer) + (insert (car test)) + (should (equal (cdr test) + (libxml-parse-xml-region (point-min) (point-max))))))) ;;; libxml-tests.el ends here |