Hi Nick,

Nick Dokos <nicholas.do...@hp.com> writes:

> Just pulled and ran "make test". I get one failure with the
> appended backtrace:

I submitted this patch to Nicolas so that he can approve/apply
it.  I think the test is wrong, not the code.

diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el
index dac5fd2..561ac98 100644
--- a/testing/lisp/test-org.el
+++ b/testing/lisp/test-org.el
@@ -677,10 +677,7 @@ Outside."
     ;;      headline at the same level.
     (goto-line 3)
     (org-backward-element)
-    (should (looking-at (regexp-quote "* Head 1")))
-    ;; 4.3. At the first top-level headline: should error.
-    (goto-line 2)
-    (should-error (org-backward-element)))
+    (should (looking-at (regexp-quote "** Head 1.1"))))
   ;; 5. At beginning of first element inside a greater element:
   ;;    expected to move to greater element's beginning.
   (org-test-with-temp-text "Before.\n#+BEGIN_CENTER\nInside.\n#+END_CENTER"
-- 
 Bastien

Reply via email to