]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - file_test.go
nsscash: file_test: restore log output after the test
[nsscash/nsscash.git] / file_test.go
index f192d7af981a88eedaba9daa79b963c4ac795b5d..72fa58c5f9ea6178afe43f1e421d506ccb3aede7 100644 (file)
@@ -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)