From 28b3af12d1c48f45b07552e68fd09b2e4cda28b6 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 3 Nov 2015 18:19:19 +0100 Subject: Fix tests broken by PlaintextNames addition --- cryptfs/names_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cryptfs/names_test.go') diff --git a/cryptfs/names_test.go b/cryptfs/names_test.go index 14c15c1..ccf08df 100644 --- a/cryptfs/names_test.go +++ b/cryptfs/names_test.go @@ -12,7 +12,7 @@ func TestTranslatePath(t *testing.T) { s = append(s, "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890") key := make([]byte, KEY_LEN) - fs := NewCryptFS(key, true) + fs := NewCryptFS(key, true, false) for _, n := range s { c := fs.EncryptPath(n) @@ -34,7 +34,7 @@ func TestPad16(t *testing.T) { s = append(s, []byte("12345678901234567abcdefg")) key := make([]byte, KEY_LEN) - fs := NewCryptFS(key, true) + fs := NewCryptFS(key, true, false) for i := range s { orig := s[i] -- cgit v1.2.3