diff options
author | Leon Rische <leon.rische@me.com> | 2020-05-04 13:56:00 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-05-04 13:56:00 +0200 |
commit | b2afbb0356880b37f0bb0c80351c6a7b91dd2248 (patch) | |
tree | cd6e2dba2e0f57dfc3311247b2b989415a9e2300 /tests/org-fc-indexer-test.el | |
parent | e8303241918970b680701bc645b9b37af3634249 (diff) |
Add indexer & filter tests
Diffstat (limited to 'tests/org-fc-indexer-test.el')
-rw-r--r-- | tests/org-fc-indexer-test.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/org-fc-indexer-test.el b/tests/org-fc-indexer-test.el new file mode 100644 index 0000000..2200fa0 --- /dev/null +++ b/tests/org-fc-indexer-test.el @@ -0,0 +1,15 @@ +(require 'org-fc) +(require 'org-fc-test-helper) +(require 'ert) + +(ert-deftest org-fc-test-malformed () + (should (null (org-fc-awk-index-paths + (list (org-fc-test-fixture "malformed/no_review_data.org"))))) + (should (null (org-fc-awk-index-paths + (list (org-fc-test-fixture "malformed/no_properties.org"))))) + (should (null (org-fc-awk-index-paths + (list (org-fc-test-fixture "malformed/normal_swapped_drawers.org"))))) + (should (null (org-fc-awk-index-paths + (list (org-fc-test-fixture "malformed/unclosed_drawer1.org"))))) + (should (null (org-fc-awk-index-paths + (list (org-fc-test-fixture "malformed/unclosed_drawer2.org")))))) |