diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-29 18:21:19 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-29 18:21:19 +0200 |
commit | 3df10c6ce075f1539c9470c01778bd50e91ab99b (patch) | |
tree | 447143a1882139664a2c075162af348ba590cbba | |
parent | 0204df69ff159269856cd4d5b5044d39ee022759 (diff) | |
download | dna-backup-3df10c6ce075f1539c9470c01778bd50e91ab99b.tar.gz dna-backup-3df10c6ce075f1539c9470c01778bd50e91ab99b.zip |
ok this should do the trick for macos symlink test
fingerscrossed
-rw-r--r-- | repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |