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

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

[elpa] externals/denote 5298547b7a 2/2: denote-test: add a WIP test


From: ELPA Syncer
Subject: [elpa] externals/denote 5298547b7a 2/2: denote-test: add a WIP test
Date: Fri, 30 Jun 2023 09:57:50 -0400 (EDT)

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

    denote-test: add a WIP test
---
 tests/denote-test.el | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/tests/denote-test.el b/tests/denote-test.el
index 0dc353e7b8..ad0beecfc1 100644
--- a/tests/denote-test.el
+++ b/tests/denote-test.el
@@ -212,5 +212,26 @@ identifier: 20230605T102234
 
 "))))
 
+;; ;; NOTE 2023-06-30: The following needs to be reviewed.
+;;
+;; (ert-deftest denote-test--denote-format-file-name ()
+;;   "Test that `denote-format-file-name' returns all expected paths."
+;;   (let ((title "Some test")
+;;         (id (format-time-string denote-id-format (current-time-string 
"2023-06-05")))
+;;         (kws '("one" "two"))
+;;         (type 'text))
+;;     (should
+;;      (equal
+;;      (denote-format-file-name
+;;              (denote--path title
+;;                            kws
+;;                            (denote-directory)
+;;                            id
+;;                            type)
+;;              id
+;;              (denote-sluggify-keywords kws)
+;;              (denote-sluggify title)
+;;              (denote--file-extension type))))
+
 (provide 'denote-test)
 ;;; denote-test.el ends here



reply via email to

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