mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-06 13:13:29 +00:00
* testing/examples/org-exp.org: Example file for export tests. * testing/lisp/test-org-exp.el (test-org-exp/stripping-commas): List file for export tests.
9 lines
323 B
EmacsLisp
9 lines
323 B
EmacsLisp
(ert-deftest test-org-exp/stripping-commas ()
|
|
"Test the stripping of commas from within blocks during export."
|
|
(org-test-at-id "76d3a083-67fa-4506-a41d-837cc48158b5"
|
|
;; don't strip internal commas
|
|
(org-narrow-to-subtree)
|
|
(should (string-match
|
|
", 2"
|
|
(org-export-as-ascii nil nil nil 'string)))))
|