Fix failing tests
* testing/lisp/test-org.el (test-org/closest-date): Remove tests that no longer apply to current code.
This commit is contained in:
parent
ebe2d83eea
commit
dae03e8790
|
@ -301,17 +301,6 @@
|
||||||
'(3 29 2012)
|
'(3 29 2012)
|
||||||
(calendar-gregorian-from-absolute
|
(calendar-gregorian-from-absolute
|
||||||
(org-closest-date "<2012-03-29 +0d>" "<2014-03-04>" nil))))
|
(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
|
;; if PREFER is set to `past' always return a date before, or equal
|
||||||
;; to CURRENT.
|
;; to CURRENT.
|
||||||
(should
|
(should
|
||||||
|
|
Loading…
Reference in New Issue