Fix false test failure
* testing/lisp/test-org.el (test-org/refile-get-targets): Fix false failures when test temp-file path contains a symlink. TINYCHANGE
This commit is contained in:
parent
9945e029f5
commit
8fa6c015a4
|
@ -5497,7 +5497,7 @@ Paragraph<point>"
|
|||
;; full file name.
|
||||
(should
|
||||
(org-test-with-temp-text-in-file "* H1"
|
||||
(let* ((filename (buffer-file-name))
|
||||
(let* ((filename (file-truename (buffer-file-name)))
|
||||
(org-refile-use-outline-path 'full-file-path)
|
||||
(org-refile-targets `(((,filename) :level . 1))))
|
||||
(member filename (mapcar #'car (org-refile-get-targets))))))
|
||||
|
|
Loading…
Reference in New Issue