From 55f1c4dff4a2e9543e62575ede0c02a882d6f49a Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Sat, 2 May 2026 12:06:12 +0200 Subject: compat-tests: Expand seconds-to-string test --- compat-tests.el | 2 ++ 1 file changed, 2 insertions(+) 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")) -- cgit v1.0