summaryrefslogtreecommitdiff
path: root/tests/org-fc-indexer-test.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org-fc-indexer-test.el')
-rw-r--r--tests/org-fc-indexer-test.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/org-fc-indexer-test.el b/tests/org-fc-indexer-test.el
index 1d37529..adb00fe 100644
--- a/tests/org-fc-indexer-test.el
+++ b/tests/org-fc-indexer-test.el
@@ -14,6 +14,14 @@
(should (null (org-fc-awk-index-paths
(list (org-fc-test-fixture "malformed/unclosed_drawer2.org"))))))
+(ert-deftest org-fc-test-escaping ()
+ (let ((index (org-fc-awk-index-paths
+ (list (org-fc-test-fixture "escaping/spaces in filename.org")))))
+ (should (eq (length index) 1))
+ (should
+ (equal (plist-get (car index) :id)
+ "33645f3a-384d-44ed-aed2-a2d56b973800"))))
+
(ert-deftest org-fc-test-index ()
(let ((index (org-fc-awk-index-paths
(list