From 790c363cceaaa09e91ad579e2d25cb13c1582bba Mon Sep 17 00:00:00 2001 From: xuri <xuri.me@gmail.com> Date: Sat, 18 Sep 2021 23:20:24 +0800 Subject: This closes #833, closes #845, and closes #1022, breaking changes - Close spreadsheet and row's iterator required - New options `WorksheetUnzipMemLimit` have been added - Improve streaming reading performance, memory usage decrease about 93.7% --- crypt_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'crypt_test.go') diff --git a/crypt_test.go b/crypt_test.go index 68ff5b8..cb0b160 100644 --- a/crypt_test.go +++ b/crypt_test.go @@ -22,6 +22,7 @@ func TestEncrypt(t *testing.T) { f, err := OpenFile(filepath.Join("test", "encryptSHA1.xlsx"), Options{Password: "password"}) assert.NoError(t, err) assert.EqualError(t, f.SaveAs(filepath.Join("test", "BadEncrypt.xlsx"), Options{Password: "password"}), "not support encryption currently") + assert.NoError(t, f.Close()) } func TestEncryptionMechanism(t *testing.T) { -- cgit v1.2.1