summaryrefslogtreecommitdiff
path: root/tests/org-fc-review-data-test.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org-fc-review-data-test.el')
-rw-r--r--tests/org-fc-review-data-test.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/org-fc-review-data-test.el b/tests/org-fc-review-data-test.el
index c00083b..9009b78 100644
--- a/tests/org-fc-review-data-test.el
+++ b/tests/org-fc-review-data-test.el
@@ -3,9 +3,11 @@
(require 'ert)
(ert-deftest org-fc-test-review-data ()
- (let ((index (org-fc-awk-index-paths
- (list
- (org-fc-test-fixture "index/review_data.org")))))
+ (let ((index
+ (org-fc-index-flatten-file
+ (org-fc-awk-index
+ (list
+ (org-fc-test-fixture "index/review_data.org"))))))
(should (eq (length index) 2))
(let ((card1 (car index))
(card2 (cadr index)))