test-org-export: Fix broken test

* testing/lisp/test-org-export.el (test-org-export/export-scope): In
  batch mode, `transient-mark-mode' must be turned on.
This commit is contained in:
Nicolas Goaziou 2012-03-04 14:38:57 +01:00
parent bf609d8844
commit f18ea108aa
1 changed files with 3 additions and 1 deletions

View File

@ -229,7 +229,9 @@ text
;; Region.
(goto-char (point-min))
(forward-line 3)
(mark-paragraph)
(transient-mark-mode 1)
(push-mark (point) t t)
(goto-char (point-at-eol))
(should (equal (org-export-as 'test) "text\n")))))
(ert-deftest test-org-export/export-snippet ()