From d23331f89d2cae54636dc87a49a237d8587f1766 Mon Sep 17 00:00:00 2001 From: Holger Dürer Date: Sat, 12 Feb 2022 16:40:19 +0100 Subject: Fix the timer test that was broken with the recent timer fix. When we corrected the time arg for `run-at-time` we forgot to update the corresponding test which was strictly checking the time arg. --- test/mastodon-tl-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/mastodon-tl-tests.el') diff --git a/test/mastodon-tl-tests.el b/test/mastodon-tl-tests.el index dd07416..a569c89 100644 --- a/test/mastodon-tl-tests.el +++ b/test/mastodon-tl-tests.el @@ -559,7 +559,7 @@ a string or a numeric." (mock (mastodon-tl--relative-time-details 'fake-timestamp) => (cons "xxx ago" soon-in-the-future)) (mock (cancel-timer 'initial-timer)) - (mock (run-at-time soon-in-the-future nil + (mock (run-at-time * nil #'mastodon-tl--update-timestamps-callback (current-buffer) nil) => 'new-timer) -- cgit v1.2.3