ox: Add test

* testing/lisp/test-ox.el (test-org-export/uninterpreted): Add test.
This commit is contained in:
Nicolas Goaziou 2019-07-09 12:36:01 +02:00
parent 9bde6350d1
commit 63e851ddbd
1 changed files with 9 additions and 0 deletions

View File

@ -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"