Procházet zdrojové kódy

Correct an org-clone-subtree-with-time-shift test

* testing/lisp/test-org.el (test-org/clone-with-time-shift): Remove
  the SHIFT argument from a test case to match the intention of the
  test.
Kyle Meyer před 8 roky
rodič
revize
4255837c92
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      testing/lisp/test-org.el

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

@@ -1380,7 +1380,7 @@
     (org-test-with-temp-text "* H <2014-03-04 Tue><point>"
       (cl-letf (((symbol-function 'read-from-minibuffer)
 		 (lambda (&rest args) "+1d")))
-	(org-clone-subtree-with-time-shift 1 "+1d"))
+	(org-clone-subtree-with-time-shift 1))
       (buffer-substring-no-properties (line-beginning-position 2)
 				      (line-end-position 2))))))