aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHolger Dürer <me@hdurer.net>2022-02-12 16:40:19 +0100
committerHolger Dürer <me@hdurer.net>2022-02-12 16:40:19 +0100
commitd23331f89d2cae54636dc87a49a237d8587f1766 (patch)
treebaf8b3f2dc718a66525d65afc3216a3ddd665e9c /test
parent8b20cae30e1064c49a5c95789270d975ee96d3ff (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/mastodon-tl-tests.el2
1 files changed, 1 insertions, 1 deletions
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)