emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote a05ed292bf: Clarify denote-test--denote--format-


From: ELPA Syncer
Subject: [elpa] externals/denote a05ed292bf: Clarify denote-test--denote--format-front-matter doc string
Date: Sun, 3 Nov 2024 12:58:05 -0500 (EST)

branch: externals/denote
commit a05ed292bffbfb796386a05bd5dc69be0ce9c981
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Clarify denote-test--denote--format-front-matter doc string
---
 tests/denote-test.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/denote-test.el b/tests/denote-test.el
index f599773db9..823daf0674 100644
--- a/tests/denote-test.el
+++ b/tests/denote-test.el
@@ -176,7 +176,9 @@ Extend what we do in 
`denote-test--denote-file-type-extensions'."
                (equal (denote-surround-with-quotes "") "\"\""))))
 
 (ert-deftest denote-test--denote--format-front-matter ()
-  "Test that `denote--format-front-matter' formats front matter correctly."
+  "Test that `denote--format-front-matter' formats front matter correctly.
+To make the test reproducible, set `denote-date-format' to a value that
+does not involve the time zone."
   (let ((denote-date-format "%Y-%m-%d"))
     (should (and (equal (denote--format-front-matter "" (date-to-time 
"20240101T120000") '("") "" "" 'text)
                         (mapconcat #'identity



reply via email to

[Prev in Thread] Current Thread [Next in Thread]