Ihor Radchenko <yanta...@posteo.net> writes:

> Rudolf Adamkovič <salu...@me.com> writes:
>
>> Overall, I now see the following failures on the main branch:
>>
>>    FAILED  ob-java/lint-header-args-block
>>    FAILED  ob-java/lint-header-args-buffer
>>    FAILED  ob-java/lint-header-args-heading
>
> AFAIK, Max is using Linux. This is strange...
> And I cannot really fix it without being able to reproduce on my side.

I'm seeing these 3 failures too, running the tests from the command
line. The failure looks like this:

    FAILED ob-java/lint-header-args-block ((should-not (org-lint
    '(wrong-header-argument))) :form (org-lint (wrong-header-argument))
    :value ((1 ["8" "nil" "Unknown header argument \":classname\""
    #s(org-lint-checker wrong-header-argument "Report wrong babel
    headers" org-lint-wrong-header-argument nil (babel))]) (2 ["8" "nil"
    "Unknown header argument \":imports\"" #s(org-lint-checker
    wrong-header-argument "Report wrong babel headers"
    org-lint-wrong-header-argument nil (babel))]) (3 ["8" "nil" "Unknown
    header argument \":cmpflag\"" #s(org-lint-checker
    wrong-header-argument "Report wrong babel headers"
    org-lint-wrong-header-argument nil (babel))]) (4 ["8" "nil" "Unknown
    header argument \":cmdarg\"" #s(org-lint-checker
    wrong-header-argument "Report wrong babel headers"
    org-lint-wrong-header-argument nil (babel))])))


Adding (require 'ob-java) at the beginning of test-ob-java.el ensures
that `org-babel-header-args:java' is defined, and the tests pass.

Bruno

Reply via email to