X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=file_test.go;h=576e02aff7ecd7a549637fba6da92c008beca037;hb=1002c514a8530bb6608c556b4446e853be390917;hp=f192d7af981a88eedaba9daa79b963c4ac795b5d;hpb=8e30fc811afc50bfdb00e366cb1ac00e186b0511;p=nsscash%2Fnsscash.git diff --git a/file_test.go b/file_test.go index f192d7a..576e02a 100644 --- a/file_test.go +++ b/file_test.go @@ -1,4 +1,4 @@ -// Copyright (C) 2019 Simon Ruderich +// Copyright (C) 2019-2020 Simon Ruderich // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -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)