diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/tc_package.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tc_package.rb b/test/tc_package.rb index f1ce0421..b98fa2f0 100644 --- a/test/tc_package.rb +++ b/test/tc_package.rb @@ -303,6 +303,9 @@ 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 stream.string.valid_encoding? + assert_equal(stream.external_encoding, Encoding::ASCII_8BIT) # Cached ids should be cleared assert(Axlsx::Relationship.ids_cache.empty?) end |
