mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 05:02:52 +00:00
test-org-fold/org-fold-display-inline-images: Fix skip condition in older Emacs
* testing/lisp/test-org-fold.el (test-org-fold/org-fold-display-inline-images): Use skip-unless available in older Emacs rather than skip-when.
This commit is contained in:
parent
1156554aaf
commit
c67af5c24a
|
@ -694,7 +694,7 @@ Unfolded Paragraph.
|
|||
|
||||
(ert-deftest test-org-fold/org-fold-display-inline-images ()
|
||||
"Test inline images displaying when cycling."
|
||||
(skip-when noninteractive)
|
||||
(skip-unless (not noninteractive))
|
||||
(let* ((org-cycle-inline-images-display t)
|
||||
(images-dir (expand-file-name "examples/images/" org-test-dir))
|
||||
(org-logo-image (expand-file-name "Org mode logo mono-color.png" images-dir)))
|
||||
|
|
Loading…
Reference in a new issue