diff options
Diffstat (limited to 'crypt_test.go')
-rw-r--r-- | crypt_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt_test.go b/crypt_test.go index c6acb38..f9a3fb7 100644 --- a/crypt_test.go +++ b/crypt_test.go @@ -19,5 +19,5 @@ import ( 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", "TestEncrypt.xlsx"), Options{Password: "password"}), "not support encryption currently") + assert.EqualError(t, f.SaveAs(filepath.Join("test", "BadEncrypt.xlsx"), Options{Password: "password"}), "not support encryption currently") } |