diff options
Diffstat (limited to 'repo_test.go')
-rw-r--r-- | repo_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/repo_test.go b/repo_test.go index 63a1184..82e8558 100644 --- a/repo_test.go +++ b/repo_test.go @@ -174,7 +174,8 @@ func TestReadFiles3(t *testing.T) { func TestSymlinks(t *testing.T) { var output bytes.Buffer - logger.SetOutput(&output) + multi := io.MultiWriter(&output, os.Stderr) + logger.SetOutput(multi) defer logger.SetOutput(os.Stderr) tmpDir := t.TempDir() extDir := t.TempDir() |