Fix copyright (to 2012) year and Org version (to 7.8.03).
[org-mode/org-kjn.git] / testing / lisp / test-org-exp.el
blobc5c3b4ee796ac4c7563e1d249648c01bafdf1c9e
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 (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)