From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: "make test" failure Date: Mon, 11 Feb 2013 18:33:43 +0100 Message-ID: <87fw12bvrc.fsf@bzg.ath.cx> References: <1810.1360603147@alphaville> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4xO8-0007xg-WD for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 12:41:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4xO7-0002eY-H0 for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 12:41:56 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:41237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4xO7-0002eL-9f for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 12:41:55 -0500 Received: by mail-wi0-f176.google.com with SMTP id hm14so3447589wib.9 for ; Mon, 11 Feb 2013 09:41:54 -0800 (PST) In-Reply-To: <1810.1360603147@alphaville> (Nick Dokos's message of "Mon, 11 Feb 2013 12:19:07 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Nick, Nick Dokos 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. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=test-fix.patch 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" --=-=-= Content-Type: text/plain -- Bastien --=-=-=--