diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2026-05-02 12:06:12 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2026-05-02 12:06:12 +0200 |
| commit | 55f1c4dff4a2e9543e62575ede0c02a882d6f49a (patch) | |
| tree | 06d90b5711bfa115944c12de7ea9f870001d78db | |
| parent | 2ef017671bdc643dbdbe3bfb746b80d090db792a (diff) | |
compat-tests: Expand seconds-to-string test
| -rw-r--r-- | compat-tests.el | 2 |
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")) |
