emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Failing org-num-mode test
@ 2019-01-07 13:40 Kaushal Modi
  2019-01-08 10:33 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Kaushal Modi @ 2019-01-07 13:40 UTC (permalink / raw)
  To: Nicolas Goaziou, emacs-org list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Failing org-num-mode test
  2019-01-07 13:40 Failing org-num-mode test Kaushal Modi
@ 2019-01-08 10:33 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-01-08 10:33 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list

Hello,

Kaushal Modi <kaushal.modi@gmail.com> writes:

> 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

As pointed out by Kyle Meyer (Cc'ed), I forgot to (require 'org-num).
This is now fixed.

Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-08 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-07 13:40 Failing org-num-mode test Kaushal Modi
2019-01-08 10:33 ` Nicolas Goaziou

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).