From 1113e3e0278e6601988abfc58e3c32939f445d80 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Sat, 20 Sep 2014 21:54:21 +0200 Subject: [PATCH] test-ob-exp: fix failing test * testing/lisp/test-ob-exp.el (ob-exp/export-from-a-temp-buffer): Check for the correct expected output so the test stops failing. --- testing/lisp/test-ob-exp.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/lisp/test-ob-exp.el b/testing/lisp/test-ob-exp.el index 8345da787..9745d8163 100644 --- a/testing/lisp/test-ob-exp.el +++ b/testing/lisp/test-ob-exp.el @@ -259,7 +259,6 @@ Here is one at the end of a line. =2= result))))) (ert-deftest ob-exp/export-from-a-temp-buffer () - :expected-result :failed (org-test-with-temp-text " #+Title: exporting from a temporary buffer @@ -279,8 +278,9 @@ Here is one at the end of a line. =2= #+END_SRC " (let* ((ascii (org-export-as 'ascii))) - (should (string-match (regexp-quote (format nil "%S" '(:foo :bar))) - ascii))))) + (should (string-match + (regexp-quote " :foo :bar \n") + ascii))))) (ert-deftest ob-export/export-with-results-before-block () "Test export when results are inserted before source block." -- 2.11.4.GIT