aboutsummaryrefslogtreecommitdiff
path: root/repo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'repo_test.go')
-rw-r--r--repo_test.go2
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 {