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:
Galen Menzel 2017-08-10 22:43:39 +02:00 committed by Nicolas Goaziou
parent 9945e029f5
commit 8fa6c015a4
1 changed files with 1 additions and 1 deletions

View File

@ -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))))))