aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chime-make-tooltip.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-chime-make-tooltip.el')
-rw-r--r--tests/test-chime-make-tooltip.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test-chime-make-tooltip.el b/tests/test-chime-make-tooltip.el
index 2c9cf37..7ace684 100644
--- a/tests/test-chime-make-tooltip.el
+++ b/tests/test-chime-make-tooltip.el
@@ -40,9 +40,10 @@
(setq chime-modeline-tooltip-max-events 5)
(setq chime-tooltip-header-format "Upcoming Events as of %a %b %d %Y @ %I:%M %p")
(setq chime-display-time-format-string "%I:%M %p")
- (setq chime-time-left-format-at-event "right now")
- (setq chime-time-left-format-short "in %M")
- (setq chime-time-left-format-long "in %H %M"))
+ (setq chime-time-left-formats
+ (list (cons 'at-event "right now")
+ (cons 'short "in %M")
+ (cons 'long "in %H %M"))))
(defun test-chime-make-tooltip-teardown ()
"Teardown function run after each test."