Re: [O] Failing org-num-mode test

2019-01-08 Thread Nicolas Goaziou
Hello,

Kaushal Modi  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



[O] Failing org-num-mode test

2019-01-07 Thread Kaushal Modi
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