diff options
Diffstat (limited to 'crypt_test.go')
-rw-r--r-- | crypt_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypt_test.go b/crypt_test.go index f7c465e..95b6f52 100644 --- a/crypt_test.go +++ b/crypt_test.go @@ -48,6 +48,8 @@ func TestEncrypt(t *testing.T) { cell, err = f.GetCellValue("Sheet1", "A1") assert.NoError(t, err) assert.Equal(t, "SECRET", cell) + // Test remove password by save workbook with options + assert.NoError(t, f.Save(Options{Password: ""})) assert.NoError(t, f.Close()) } |