Fix two compiler warnings
[org-mode.git] / testing / lisp / test-org-exp.el
blob1f01499225ba23876217e2da9995f2b9d4b922f9
1 ;;; test-org-exp.el --- tests for org-exp.el
3 ;; Copyright (c) 2010-2012 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 ;;; Code:
10 (ert-deftest test-org-exp/stripping-commas ()
11 "Test the stripping of commas from within blocks during export."
12 (org-test-at-id "76d3a083-67fa-4506-a41d-837cc48158b5"
13 ;; don't strip internal commas
14 (org-narrow-to-subtree)
15 (should (string-match
16 ", 2"
17 (org-export-as-ascii nil nil nil 'string)))))
19 (provide 'test-org-exp)