From cfa2d603ddb0fac50ca1af3fe1d28fe17a65a6f3 Mon Sep 17 00:00:00 2001 From: Sangua633 <76948439+Sangua633@users.noreply.github.com> Date: Sat, 20 Aug 2022 15:51:03 +0800 Subject: Support encrypt workbook with password #199 (#1324) --- crypt_test.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crypt_test.go') diff --git a/crypt_test.go b/crypt_test.go index d2fba35..f7c465e 100644 --- a/crypt_test.go +++ b/crypt_test.go @@ -59,11 +59,6 @@ func TestEncryptionMechanism(t *testing.T) { assert.EqualError(t, err, ErrUnknownEncryptMechanism.Error()) } -func TestEncryptionWriteDirectoryEntry(t *testing.T) { - cfb := cfb{} - assert.Equal(t, 1536, len(cfb.writeDirectoryEntry(0, 0, -1))) -} - func TestHashing(t *testing.T) { assert.Equal(t, hashing("unsupportedHashAlgorithm", []byte{}), []byte(nil)) } -- cgit v1.2.1