aboutsummaryrefslogtreecommitdiff
path: root/lisp/seam-test.el
diff options
context:
space:
mode:
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