From ca6feacbb41a10530153355a5e75a8f58ab557a5 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 26 Jun 2019 09:30:24 +0200 Subject: [PATCH] nsscash: file_test: restore log output after the test Otherwise this affects other test files as well. --- file_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/file_test.go b/file_test.go index f192d7a..72fa58c 100644 --- a/file_test.go +++ b/file_test.go @@ -27,6 +27,7 @@ func TestDeployFile(t *testing.T) { // Suppress log messages log.SetOutput(ioutil.Discard) + defer log.SetOutput(os.Stderr) // Setup & cleanup f, err := os.Create(deploy) -- 2.45.2