branch: externals/vc-jj
commit c787cb513ecb42dc9b5797102644febcc65341c3
Author: Rudi Schlatte <[email protected]>
Commit: Rudi Schlatte <[email protected]>

    Fix tests on MacOS
    
    The comment above the changed line was correct, we just needed an
    additional call to `file-truename`.
---
 vc-jj-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-jj-tests.el b/vc-jj-tests.el
index 49c8f06670..1eddb1561c 100644
--- a/vc-jj-tests.el
+++ b/vc-jj-tests.el
@@ -76,7 +76,7 @@ is needed."
        ;; On macOS, the generated filename "/var/folders/..." was in
        ;; reality "/private/var/folders/...", which got unfolded by
        ;; `vc-jj-root' within some tests -- do this here already
-       (let ((,name (vc-jj-root ,name))
+       (let ((,name (file-truename (vc-jj-root ,name)))
              (default-directory ,name))
          ,@body))))
 

Reply via email to