summaryrefslogtreecommitdiff
path: root/cryptfs/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cryptfs/config_test.go')
-rw-r--r--cryptfs/config_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptfs/config_test.go b/cryptfs/config_test.go
index 5cf04bf..0dedbd9 100644
--- a/cryptfs/config_test.go
+++ b/cryptfs/config_test.go
@@ -2,7 +2,6 @@ package cryptfs
import (
"fmt"
- "io/ioutil"
"os"
"testing"
"time"
@@ -35,7 +34,7 @@ func TestLoadV2(t *testing.T) {
func TestLoadV2PwdError(t *testing.T) {
if !testing.Verbose() {
- Warn.SetOutput(ioutil.Discard)
+ Warn.Enabled = false
}
_, _, err := LoadConfFile("config_test/v2.conf", "wrongpassword")
Warn.SetOutput(os.Stderr)