summaryrefslogtreecommitdiff
path: root/crypt_test.go
diff options
context:
space:
mode:
authorSangua633 <76948439+Sangua633@users.noreply.github.com>2022-08-20 15:51:03 +0800
committerGitHub <noreply@github.com>2022-08-20 15:51:03 +0800
commitcfa2d603ddb0fac50ca1af3fe1d28fe17a65a6f3 (patch)
tree21cb18f8eb79b89675cbf09747a280449abea569 /crypt_test.go
parent76f336809f5419343702de5b3284d46feb9ed266 (diff)
Support encrypt workbook with password #199 (#1324)
Diffstat (limited to 'crypt_test.go')
-rw-r--r--crypt_test.go5
1 files changed, 0 insertions, 5 deletions
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))
}