aboutsummaryrefslogtreecommitdiff
path: root/lisp/seam-test.el
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-07-07 12:55:36 -0400
committerSpencer Williams <spnw@plexwave.org>2025-07-07 12:55:36 -0400
commitfc232d53ec6de313cf8302292c8b04aa5ea2fa99 (patch)
treee8aba387623e6623fb666a6c1b4ea661c4101f08 /lisp/seam-test.el
parente5f58a411e3343a27fb6c1787bc9404d89cc0309 (diff)
Add test re modifying seam-export-alist
Diffstat (limited to 'lisp/seam-test.el')
-rw-r--r--lisp/seam-test.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/seam-test.el b/lisp/seam-test.el
index a063758..6eb25d3 100644
--- a/lisp/seam-test.el
+++ b/lisp/seam-test.el
@@ -510,6 +510,19 @@ it."
(seam-test-add-contents note ":PROPERTIES:\n:SEAM_SLUG: c-vs-cpp\n:END:")
(seam-test-list-files)))))
+(ert-deftest seam-test-removing-type-from-export-alist ()
+ (should
+ (equal
+ '("public/note.org")
+ (seam-test-with-notes ()
+ ((note "Note" "public"))
+ (setq seam-export-alist
+ `((,(file-name-concat seam-test-directory "html")
+ :types ("foo")
+ :root-path "/")))
+ (seam-export-all-notes)
+ (seam-test-list-files)))))
+
(provide 'seam-test)
;;; seam-test.el ends here