emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	emacs-org list <emacs-orgmode@gnu.org>
Subject: Failing org-num-mode test
Date: Mon, 7 Jan 2019 08:40:38 -0500	[thread overview]
Message-ID: <CAFyQvY2B=HkQ2xn6Hp4h=tQOTir4QyR+v02AchVUgNBOuHCmHg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]

Hello Nicolas,

While recently working on few Org tag fixes in org.el, I was running make
test, and saw 1 test related to the recently added org-num-mode fail.

The failure can be quickly recreated with:

 make test BTEST_RE=test-org-num

=====
Test test-org-num/format-function condition:
    (ert-test-failed
     ((should
       (equal '...
        (org-test-with-temp-text "* H1
** H2" ... ...)))
      :form
      (equal
       ("foo" "foo")
       (#("1.1 " 0 4 ...)
         #("1 " 0 2 ...)))
      :value nil :explanation
      (list-elt 0
                (arrays-of-different-length 3 4 "foo"
                                            #("1.1 " 0 4 ...)
                                            first-mismatch-at 0))))
   FAILED  1/4  test-org-num/format-function (0.002472 sec)
   passed  2/4  test-org-num/max-level (0.000511 sec)
   passed  3/4  test-org-num/skip-numbering (0.003965 sec)
   passed  4/4  test-org-num/update (0.038399 sec)

Ran 4 tests, 3 results as expected, 1 unexpected (2019-01-07 08:32:35-0500,
0.184330 sec)

1 unexpected results:
   FAILED  test-org-num/format-function
=====

Can you confirm?

--
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1816 bytes --]

             reply	other threads:[~2019-01-07 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-07 13:40 Kaushal Modi [this message]
2019-01-08 10:33 ` Failing org-num-mode test Nicolas Goaziou

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='CAFyQvY2B=HkQ2xn6Hp4h=tQOTir4QyR+v02AchVUgNBOuHCmHg@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).