From 3df10c6ce075f1539c9470c01778bd50e91ab99b Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 29 Sep 2021 18:21:19 +0200 Subject: ok this should do the trick for macos symlink test fingerscrossed --- repo_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo_test.go b/repo_test.go index d4f5749..9e72ac0 100644 --- a/repo_test.go +++ b/repo_test.go @@ -177,7 +177,7 @@ func TestSymlinks(t *testing.T) { multi := io.MultiWriter(&output, os.Stderr) logger.SetOutput(multi) defer logger.SetOutput(os.Stderr) - tmpDir := t.TempDir() + tmpDir := filepath.Clean(t.TempDir()) extDir := t.TempDir() f, err := os.Create(filepath.Join(tmpDir, "existing")) if err != nil { -- cgit v1.2.3