瀏覽代碼

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 8 年之前
父節點
當前提交
4255837c92
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))))))