summaryrefslogtreecommitdiff
path: root/cryptfs/config_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-22 21:45:11 +0100
committerJakob Unterwurzacher2016-01-22 21:49:56 +0100
commit2e419e635f264a9bb069e30ede597ce344b91106 (patch)
tree9a69abdfde634297f12789a932be6ffa2b8c22c2 /cryptfs/config_test.go
parent9f9cf882ad9bbd298a3417e5e2b0de44cb30f4cb (diff)
Remove last SetOutput from generic code
Diffstat (limited to 'cryptfs/config_test.go')
-rw-r--r--cryptfs/config_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cryptfs/config_test.go b/cryptfs/config_test.go
index 0dedbd9..11599c0 100644
--- a/cryptfs/config_test.go
+++ b/cryptfs/config_test.go
@@ -2,7 +2,6 @@ package cryptfs
import (
"fmt"
- "os"
"testing"
"time"
)
@@ -37,7 +36,6 @@ func TestLoadV2PwdError(t *testing.T) {
Warn.Enabled = false
}
_, _, err := LoadConfFile("config_test/v2.conf", "wrongpassword")
- Warn.SetOutput(os.Stderr)
if err == nil {
t.Errorf("Loading with wrong password must fail but it didn't")
}