0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 19:07:52 +00:00

test-org: Add test

* testing/lisp/test-org.el (test-org/clone-with-time-shift): Add test.
This commit is contained in:
Nicolas Goaziou 2017-01-16 22:26:47 +01:00
parent 8fc9ab83b4
commit 8c08ee0f8d

View file

@ -1313,6 +1313,10 @@
(ert-deftest test-org/clone-with-time-shift ()
"Test `org-clone-subtree-with-time-shift'."
;; Raise an error before first heading.
(should-error
(org-test-with-temp-text ""
(org-clone-subtree-with-time-shift 1)))
;; Clone non-repeating once.
(should
(equal "\