From 0204df69ff159269856cd4d5b5044d39ee022759 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 29 Sep 2021 18:18:48 +0200 Subject: this time symlink test should be fixed for macos --- repo_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repo_test.go b/repo_test.go index 82e8558..d4f5749 100644 --- a/repo_test.go +++ b/repo_test.go @@ -192,10 +192,10 @@ func TestSymlinks(t *testing.T) { if err = os.Symlink(extDir, filepath.Join(tmpDir, "linkexternal")); err != nil { t.Fatal(err) } - if err = os.Symlink("./notexisting", filepath.Join(tmpDir, "linknotexisting")); err != nil { + if err = os.Symlink(filepath.Join(tmpDir, "notexisting"), filepath.Join(tmpDir, "linknotexisting")); err != nil { t.Fatal(err) } - if err = os.Symlink("./existing", filepath.Join(tmpDir, "linkexisting")); err != nil { + if err = os.Symlink(filepath.Join(tmpDir, "existing"), filepath.Join(tmpDir, "linkexisting")); err != nil { t.Fatal(err) } files := listFiles(tmpDir) -- cgit v1.2.3