mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-12 22:09:53 +00:00
fixup! testing/lisp/test-ob-java.el: Skip when ob-java is not loaded
This commit is contained in:
parent
f85865e59f
commit
d620c30e6f
|
@ -24,6 +24,8 @@
|
|||
|
||||
(require 'org-test "../testing/org-test")
|
||||
(require 'ob-core)
|
||||
;; ob-java is needed for linter tests as well. org-lint relies on
|
||||
;; default header arg value.
|
||||
(unless (featurep 'ob-java)
|
||||
(signal 'missing-test-dependency "Support for java code blocks"))
|
||||
|
||||
|
@ -74,8 +76,6 @@
|
|||
|
||||
(org-test-for-executable "java")
|
||||
(org-test-for-executable "javac")
|
||||
(unless (featurep 'ob-java)
|
||||
(signal 'missing-test-dependency "Support for java code blocks"))
|
||||
|
||||
; simple tests
|
||||
|
||||
|
|
Loading…
Reference in a new issue