Browse Source

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.
Nicolas Goaziou 13 years ago
parent
commit
f18ea108aa
1 changed files with 3 additions and 1 deletions
  1. 3 1
      testing/lisp/test-org-export.el

+ 3 - 1
testing/lisp/test-org-export.el

@@ -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 ()