diff options
| author | Dan DeBruler <[email protected]> | 2021-12-28 13:33:54 -0500 |
|---|---|---|
| committer | Dan DeBruler <[email protected]> | 2021-12-28 13:33:54 -0500 |
| commit | 4278f88e5faa8e733409bb4256a01cc510f87570 (patch) | |
| tree | de7f9fd3e722d25de1dace1fb86238c85609bcfd /test | |
| parent | 6702f7e5c4a7494ab5007a0e42bbec2e760bcad3 (diff) | |
| download | caxlsx-4278f88e5faa8e733409bb4256a01cc510f87570.tar.gz caxlsx-4278f88e5faa8e733409bb4256a01cc510f87570.zip | |
Return output stream in binmode
Diffstat (limited to 'test')
| -rw-r--r-- | test/tc_package.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb index f1ce0421..8dea7ccf 100644 --- a/test/tc_package.rb +++ b/test/tc_package.rb @@ -303,6 +303,8 @@ class TestPackage < Test::Unit::TestCase # this is just a roundabout guess for a package as it is build now # in testing. assert(stream.size > 80000) + # Stream (of zipped contents) should have appropriate default encoding + assert_equal(stream.external_encoding, Encoding::ASCII_8BIT) # Cached ids should be cleared assert(Axlsx::Relationship.ids_cache.empty?) end |
