diff options
author | Spencer Williams <spnw@plexwave.org> | 2025-04-06 13:24:51 -0400 |
---|---|---|
committer | Spencer Williams <spnw@plexwave.org> | 2025-04-06 13:24:51 -0400 |
commit | 3733774bcc9bb6d6f27f25d06a6e7f2ff316db18 (patch) | |
tree | 498bf81c07e99d4f1e6337b60fa1d64faa0ece1f /seam-test.el | |
parent | 83a56727beda6a80c2b04dfe99257ff286cd77ea (diff) |
Add SEAM_SLUG property for custom slugs
Diffstat (limited to 'seam-test.el')
-rw-r--r-- | seam-test.el | 10 |
1 files changed, 10 insertions, 0 deletions
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\" & <symbols>" "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 |