瀏覽代碼

Fix failing tests

* testing/lisp/test-org.el (test-org/closest-date): Remove tests that no
  longer apply to current code.
Nicolas Goaziou 9 年之前
父節點
當前提交
dae03e8790
共有 1 個文件被更改,包括 0 次插入11 次删除
  1. 0 11
      testing/lisp/test-org.el

+ 0 - 11
testing/lisp/test-org.el

@@ -301,17 +301,6 @@
     '(3 29 2012)
     (calendar-gregorian-from-absolute
      (org-closest-date "<2012-03-29 +0d>" "<2014-03-04>" nil))))
-  ;; Time stamps with a special repeater type are returned unchanged.
-  (should
-   (equal
-    '(3 29 2012)
-    (calendar-gregorian-from-absolute
-     (org-closest-date "<2012-03-29 .+1d>" "<2014-03-04>" nil))))
-  (should
-   (equal
-    '(3 29 2012)
-    (calendar-gregorian-from-absolute
-     (org-closest-date "<2012-03-29 ++1d>" "<2014-03-04>" nil))))
   ;; if PREFER is set to `past' always return a date before, or equal
   ;; to CURRENT.
   (should