Manually revert maint to e85080.
[org-mode.git] / testing / lisp / test-org-exp.el
blob0ed8d683d30db09e81136a9fce6da2ad7ddc514d
1 ;;; test-org-exp.el --- tests for org-exp.el
3 ;; Copyright (c) 2010 Eric Schulte
4 ;; Authors: Eric Schulte
6 ;; Released under the GNU General Public License version 3
7 ;; see: http://www.gnu.org/licenses/gpl-3.0.html
9 (let ((load-path (cons (expand-file-name
10 ".." (file-name-directory
11 (or load-file-name buffer-file-name)))
12 load-path)))
13 (require 'org-test)
14 (require 'org-test-ob-consts)
15 (require 'org-ascii))
17 (ert-deftest test-org-exp/stripping-commas ()
18 "Test the stripping of commas from within blocks during export."
19 (org-test-at-id "76d3a083-67fa-4506-a41d-837cc48158b5"
20 ;; don't strip internal commas
21 (org-narrow-to-subtree)
22 (should (string-match
23 ", 2"
24 (org-export-as-ascii nil nil nil 'string)))))
26 (provide 'test-org-exp)