fixup! testing/lisp/test-ob-java.el: Skip when ob-java is not loaded

This commit is contained in:
Ihor Radchenko 2022-11-10 16:58:07 +08:00
parent f85865e59f
commit d620c30e6f
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 2 deletions

View File

@ -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