diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-07-09 12:36:01 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-07-09 12:42:49 +0200 |
commit | 63e851ddbd8573a221343c6fdec7e62109b9f2dc (patch) | |
tree | dc8b719c246fc1b657ae5f71ba3095ea36805bc7 | |
parent | 9bde6350d176d69a4ecff7258e0e902996d414d8 (diff) | |
download | org-mode-63e851ddbd8573a221343c6fdec7e62109b9f2dc.tar.gz |
ox: Add test
* testing/lisp/test-ox.el (test-org-export/uninterpreted): Add test.
-rw-r--r-- | testing/lisp/test-ox.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/lisp/test-ox.el b/testing/lisp/test-ox.el index 71a70bf..b81449b 100644 --- a/testing/lisp/test-ox.el +++ b/testing/lisp/test-ox.el @@ -847,6 +847,15 @@ Paragraph <2012-03-29 Thu>[2012-03-29 Thu]" (paragraph . (lambda (p c i) c)) (section . (lambda (s c i) c)))) nil nil nil '(:with-latex verbatim))))) + (should + (equal "$1$ \n" + (org-test-with-temp-text "$1$ " + (org-export-as + (org-export-create-backend + :transcoders '((latex-fragment . (lambda (l c i) "dummy")) + (paragraph . (lambda (p c i) c)) + (section . (lambda (s c i) c)))) + nil nil nil '(:with-latex verbatim))))) ;; Sub/superscript. (should (equal "adummy\n" |