emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bruno Barbier <brubar.cs@gmail.com>
To: "Ihor Radchenko" <yantar92@posteo.net>,
	"Rudolf Adamkovič" <salutis@me.com>
Cc: Max Nikulin <manikulin@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-java: Define the list of all supported header arguments
Date: Thu, 10 Nov 2022 09:26:54 +0100	[thread overview]
Message-ID: <636cb469.1c0a0220.514f2.95d0@mx.google.com> (raw)
In-Reply-To: <87v8nnk16f.fsf@localhost>



Ihor Radchenko <yantar92@posteo.net> writes:

> Rudolf Adamkovič <salutis@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	other threads:[~2022-11-10  8:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 20:15 [PATCH] ob-java: Define the list of all supported header arguments Rudolf Adamkovič
2022-10-21  4:02 ` Ihor Radchenko
2022-10-21 12:58   ` Rudolf Adamkovič
2022-10-21 13:02     ` Rudolf Adamkovič
2022-10-21 14:00       ` Ihor Radchenko
2022-11-08 11:50       ` Max Nikulin
2022-11-08 12:41         ` Ihor Radchenko
2022-11-09  0:30         ` Rudolf Adamkovič
2022-11-09  2:19           ` Ihor Radchenko
2022-11-10  0:05             ` Rudolf Adamkovič
2022-11-10  2:12               ` Ihor Radchenko
2022-11-10  8:26                 ` Bruno Barbier [this message]
2022-11-10  8:59                   ` Ihor Radchenko
2022-11-10 19:07                     ` Bruno Barbier
2022-11-11 23:13                 ` Rudolf Adamkovič
2022-11-12 13:01                   ` Ihor Radchenko
2022-11-12 22:05                     ` Rudolf Adamkovič
2022-11-13  4:41                       ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=636cb469.1c0a0220.514f2.95d0@mx.google.com \
    --to=brubar.cs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    --cc=salutis@me.com \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).