From aa5aedb821a8850fe4a90cbf71ef9e541f088675 Mon Sep 17 00:00:00 2001 From: Brent Westbrook Date: Wed, 25 Dec 2024 14:12:11 -0500 Subject: [PATCH] add/subtract 10 seconds for extra buffer time in failing tests --- test/test.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.el b/test/test.el index 2cf4b67..88f62a2 100644 --- a/test/test.el +++ b/test/test.el @@ -64,7 +64,7 @@ a post-event cutoff set." "Check that `org-alert-check` sends an alert from `test.org` with a post-event cutoff set but the current time set appropriately." (with-test-org nil - (with-current-time nil + (with-current-time '(25704 52667 0 0) ; 9:40:11 (let ((org-alert-notify-after-event-cutoff 60)) (org-alert-check) (should (= (length test-alert-notifications) 1)))))) @@ -88,6 +88,6 @@ a post-event cutoff set but the current time set appropriately." (ert-deftest check-alert-none () (with-test-org "plain.org" - (with-current-time (25704 52955 0 0) ; 9:44:59 + (with-current-time (25704 52945 0 0) ; 9:44:49 (org-alert-check) (should (= (length test-alert-notifications) 0)))))