summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat-tests.el b/compat-tests.el
index 2d02380..ebbe804 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -2839,6 +2839,8 @@
(should-equal (compat-call seconds-to-string 999 'readable) "17 minutes")
(should-equal (compat-call seconds-to-string 999 'readable 'abbrev) "17m")
(should-equal (compat-call seconds-to-string 999 'readable 'abbrev 2) "16.65m")
+ (should-equal (compat-call seconds-to-string 999999 'expanded) "1 week 5 days")
+ (should-equal (compat-call seconds-to-string 999999 'expanded 'abbrev) "1w 5d")
(should-equal (compat-call seconds-to-string 999999 'readable) "2 weeks")
(should-equal (compat-call seconds-to-string 999999 'readable 'abbrev) "2w")
(should-equal (compat-call seconds-to-string 999999 'readable 'abbrev 4) "1.6534w"))