diff options
Diffstat (limited to 'stream_test.go')
-rw-r--r-- | stream_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream_test.go b/stream_test.go index 3df898a..9776b38 100644 --- a/stream_test.go +++ b/stream_test.go @@ -129,6 +129,8 @@ func TestStreamWriter(t *testing.T) { } assert.NoError(t, rows.Close()) assert.Equal(t, 2559558, cells) + // Save spreadsheet with password. + assert.NoError(t, file.SaveAs(filepath.Join("test", "EncryptionTestStreamWriter.xlsx"), Options{Password: "password"})) assert.NoError(t, file.Close()) } |