diff options
author | Achim Gratz <Stromeko@Stromeko.DE> | 2014-09-20 21:54:21 +0200 |
---|---|---|
committer | Achim Gratz <Stromeko@Stromeko.DE> | 2014-09-20 21:54:21 +0200 |
commit | 1113e3e0278e6601988abfc58e3c32939f445d80 (patch) | |
tree | 72aacc3fab8f32cc203101091086b6f1e8691456 | |
parent | 1b17e8c8da3b8edede1a34559fac0dfedbaf5e6c (diff) | |
download | org-mode-1113e3e0278e6601988abfc58e3c32939f445d80.tar.gz |
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.
-rw-r--r-- | testing/lisp/test-ob-exp.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/lisp/test-ob-exp.el b/testing/lisp/test-ob-exp.el index 8345da7..9745d81 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." |