From 3733774bcc9bb6d6f27f25d06a6e7f2ff316db18 Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Sun, 6 Apr 2025 13:24:51 -0400 Subject: Add SEAM_SLUG property for custom slugs --- seam-test.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'seam-test.el') diff --git a/seam-test.el b/seam-test.el index 7d10f94..df9aab2 100644 --- a/seam-test.el +++ b/seam-test.el @@ -424,6 +424,16 @@ update linking HTML files such that they link to it." ((note "\"quotes\" & " "public")) (seam-export--file-string "html/quotes-symbols.html"))))) +(ert-deftest seam-test-custom-slug () + "Test that setting the SEAM_SLUG property saves and exports accordingly." + (should + (equal + '("html/c-vs-cpp.html" "public/c-vs-cpp.org") + (seam-test-with-notes () + ((note "C vs C++" "public")) + (seam-test-add-contents note ":PROPERTIES:\n:SEAM_SLUG: c-vs-cpp\n:END:") + (seam-test-list-files))))) + (provide 'seam-test) ;;; seam-test.el ends here -- cgit v1.2.3