Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
f18ea108aa
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 ()