Tests: Use before-each for org-ql-test-data-buffer
This seems like the best way.
This commit is contained in:
parent
2ae60f8dc5
commit
68ac6ddd28
1 changed files with 1 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ with keyword arg NOW in PLIST."
|
||||||
;; For Org 9.1.9.
|
;; For Org 9.1.9.
|
||||||
(substring-no-properties (org-get-heading t t t t)))) )
|
(substring-no-properties (org-get-heading t t t t)))) )
|
||||||
|
|
||||||
|
(before-each
|
||||||
(setq org-ql-test-buffer (org-ql-test-data-buffer "data.org")
|
(setq org-ql-test-buffer (org-ql-test-data-buffer "data.org")
|
||||||
;; For manual testing:
|
;; For manual testing:
|
||||||
;; org-ql-test-buffer (find-file-noselect "data.org")
|
;; org-ql-test-buffer (find-file-noselect "data.org")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue