From: Achim Gratz Date: Fri, 7 Dec 2012 18:50:01 +0000 (+0100) Subject: Fix new test for clocktables X-Git-Tag: release_8.0-pre~761 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/29117be8b2d5f41164b0e2239350913146288bf0 Fix new test for clocktables * testing/lisp/test-org-clock.el (test-org-clock/clocktable): The last test for clocktables introduced in commit 6642177 did not work if the test was run before 15:00 due to the end time being specified as "" (which includes the current time of day and not just the date). The obvious "" does also not work since it means 0:00 of the current day. The correct specification to use is "", which is 0:00 the following day or equivalently the end of today, 24:00. --- diff --git a/testing/lisp/test-org-clock.el b/testing/lisp/test-org-clock.el index e8d9b3cea..2dc2150dd 100644 --- a/testing/lisp/test-org-clock.el +++ b/testing/lisp/test-org-clock.el @@ -145,7 +145,7 @@ contents. The clocktable doesn't appear in the buffer." (goto-char (point-min)) (forward-line) (test-org-clock-clocktable-contents-at-point - ":tstart \"\" :tend \"\" :indent nil")))))) + ":tstart \"\" :tend \"\" :indent nil")))))) (provide 'test-org-clock)