From e78a65ca04492488fe68364e90c24615cdb39ff6 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 29 Sep 2021 18:15:45 +0200 Subject: echo actual logger output in symlink test --- repo_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'repo_test.go') 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() -- cgit v1.2.3